Re3/premake5.lua

82 lines
2.1 KiB
Lua
Raw Normal View History

2019-05-15 10:52:37 -04:00
workspace "re3"
2019-06-13 05:12:42 -04:00
configurations { "DebugCI", "ReleaseCI", "Release", "ReleaseFH", "Debug" }
2019-05-15 10:52:37 -04:00
location "build"
files { "src/*.*" }
2019-07-07 07:09:11 -04:00
files { "src/animation/*.*" }
files { "src/audio/*.*" }
files { "src/control/*.*" }
files { "src/core/*.*" }
files { "src/entities/*.*" }
2019-05-15 10:52:37 -04:00
files { "src/math/*.*" }
files { "src/modelinfo/*.*" }
2019-07-07 07:09:11 -04:00
files { "src/objects/*.*" }
files { "src/peds/*.*" }
2019-05-15 10:52:37 -04:00
files { "src/render/*.*" }
2019-07-07 07:09:11 -04:00
files { "src/skel/*.*" }
files { "src/skel/win/*.*" }
files { "src/vehicles/*.*" }
files { "src/weapons/*.*" }
2019-05-15 10:52:37 -04:00
2019-05-18 06:39:39 -04:00
includedirs { "src" }
2019-07-07 07:09:11 -04:00
includedirs { "src/animation" }
includedirs { "src/audio" }
includedirs { "src/control" }
includedirs { "src/core" }
includedirs { "src/entities" }
includedirs { "src/modelinfo" }
includedirs { "src/objects" }
includedirs { "src/peds" }
includedirs { "src/render" }
includedirs { "src/skel/" }
includedirs { "src/skel/win" }
2019-07-07 07:09:11 -04:00
includedirs { "src/vehicles" }
includedirs { "src/weapons" }
2019-07-07 07:09:11 -04:00
includedirs { "dxsdk/include" }
2019-05-18 06:39:39 -04:00
includedirs { "rwsdk/include/d3d8" }
2019-07-07 07:09:11 -04:00
libdirs { "dxsdk/lib" }
2019-05-15 10:52:37 -04:00
project "re3"
kind "SharedLib"
language "C++"
targetname "re3"
targetdir "bin/%{cfg.buildcfg}"
targetextension ".dll"
characterset ("MBCS")
2019-06-06 14:33:57 -04:00
linkoptions "/SAFESEH:NO"
2019-05-15 10:52:37 -04:00
filter "configurations:Debug"
defines { "DEBUG" }
staticruntime "on"
2019-05-15 10:52:37 -04: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 10:52:37 -04:00
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
staticruntime "on"
2019-05-15 10:52:37 -04: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 05:12:42 -04:00
filter "configurations:DebugCI"
defines { "DEBUG" }
symbols "On"
staticruntime "on"
2019-05-19 17:05:06 -04:00
filter "configurations:ReleaseCI"
defines { "NDEBUG" }
optimize "On"
staticruntime "on"