re3/premake5.lua

73 lines
1.9 KiB
Lua
Raw Normal View History

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