re-GTA/premake5.lua

73 lines
1.9 KiB
Lua
Raw Normal View History

2019-05-15 14:52:37 +00:00
workspace "re3"
2019-06-13 09:12:42 +00:00
configurations { "DebugCI", "ReleaseCI", "Release", "ReleaseFH", "Debug" }
2019-05-15 14:52:37 +00:00
location "build"
files { "src/*.*" }
2019-05-31 17:02:26 +00:00
files { "src/skel/*.*" }
files { "src/skel/win/*.*" }
2019-05-15 14:52:37 +00:00
files { "src/math/*.*" }
files { "src/modelinfo/*.*" }
files { "src/entities/*.*" }
files { "src/weapons/*.*" }
2019-05-15 14:52:37 +00:00
files { "src/render/*.*" }
2019-05-18 10:39:39 +00:00
files { "src/control/*.*" }
files { "src/animation/*.*" }
2019-05-18 10:39:39 +00:00
files { "src/audio/*.*" }
2019-05-15 14:52:37 +00:00
2019-05-18 10:39:39 +00:00
includedirs { "src" }
includedirs { "src/skel/" }
includedirs { "src/skel/win" }
2019-05-18 10:39:39 +00:00
includedirs { "src/modelinfo" }
includedirs { "src/entities" }
includedirs { "src/weapons" }
2019-05-18 10:39:39 +00:00
includedirs { "src/render" }
includedirs { "src/control" }
includedirs { "src/audio" }
includedirs { "src/animation" }
includedirs { "dxsdk/include" }
2019-05-18 10:39:39 +00:00
includedirs { "rwsdk/include/d3d8" }
libdirs { "dxsdk/lib" }
2019-05-15 14:52:37 +00:00
project "re3"
kind "SharedLib"
language "C++"
targetname "re3"
targetdir "bin/%{cfg.buildcfg}"
targetextension ".dll"
characterset ("MBCS")
2019-06-06 18:33:57 +00:00
linkoptions "/SAFESEH:NO"
2019-05-15 14:52:37 +00:00
filter "configurations:Debug"
defines { "DEBUG" }
staticruntime "on"
2019-05-15 14:52:37 +00:00
symbols "On"
debugdir "$(GTA_III_RE_DIR)"
debugcommand "$(GTA_III_RE_DIR)/gta3.exe"
postbuildcommands "copy /y \"$(TargetPath)\" \"$(GTA_III_RE_DIR)\\plugins\\re3.dll\""
2019-05-15 14:52:37 +00:00
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
staticruntime "on"
2019-05-15 14:52:37 +00:00
debugdir "C:/Users/aap/games/gta3_re"
debugcommand "C:/Users/aap/games/gta3_re/gta3.exe"
postbuildcommands "copy /y \"$(TargetPath)\" \"$(GTA_III_RE_DIR)\\plugins\\re3.dll\""
filter "configurations:ReleaseFH"
defines { "NDEBUG" }
symbols "Full"
optimize "off"
staticruntime "on"
debugdir "$(GTA_III_DIR)"
debugcommand "$(GTA_III_DIR)/gta3.exe"
targetextension ".asi"
targetdir "$(GTA_III_DIR)/scripts"
2019-06-13 09:12:42 +00:00
filter "configurations:DebugCI"
defines { "DEBUG" }
symbols "On"
staticruntime "on"
2019-05-19 21:05:06 +00:00
filter "configurations:ReleaseCI"
defines { "NDEBUG" }
optimize "On"
staticruntime "on"