mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-29 12:34:14 +01:00
premake cleanup
This commit is contained in:
parent
f3937b2971
commit
444d6462c5
47
premake5.lua
47
premake5.lua
@ -60,7 +60,6 @@ workspace "re3"
|
|||||||
filter {}
|
filter {}
|
||||||
|
|
||||||
filter "configurations:DebugRW or ReleaseRW"
|
filter "configurations:DebugRW or ReleaseRW"
|
||||||
defines { "RWLIBS" }
|
|
||||||
includedirs { "rwsdk/include/d3d8" }
|
includedirs { "rwsdk/include/d3d8" }
|
||||||
libdirs { "rwsdk/lib/d3d8/release" }
|
libdirs { "rwsdk/lib/d3d8/release" }
|
||||||
links { "rwcore", "rpworld", "rpmatfx", "rpskin", "rphanim", "rtbmp" }
|
links { "rwcore", "rpworld", "rpmatfx", "rpskin", "rphanim", "rtbmp" }
|
||||||
@ -102,39 +101,29 @@ project "re3"
|
|||||||
characterset ("MBCS")
|
characterset ("MBCS")
|
||||||
linkoptions "/SAFESEH:NO"
|
linkoptions "/SAFESEH:NO"
|
||||||
|
|
||||||
prebuildcommands { "cd \"../librw\" && premake5 " .. _ACTION .. " && msbuild \"build/librw.sln\" /property:Configuration=%{cfg.longname} /property:Platform=\"win-x86-d3d9\"" }
|
setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
|
||||||
|
symbols "Full"
|
||||||
|
staticruntime "off"
|
||||||
|
|
||||||
filter "configurations:Debug"
|
filter "configurations:not *RW"
|
||||||
defines { "DEBUG", "LIBRW", "RW_D3D9" }
|
prebuildcommands { "cd \"../librw\" && premake5 " .. _ACTION .. " && msbuild \"build/librw.sln\" /property:Configuration=%{cfg.longname} /property:Platform=\"win-x86-d3d9\"" }
|
||||||
staticruntime "off"
|
defines { "LIBRW", "RW_D3D9" }
|
||||||
symbols "Full"
|
|
||||||
setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
|
|
||||||
|
|
||||||
filter "configurations:Release"
|
filter "configurations:*RW"
|
||||||
defines { "NDEBUG", "LIBRW", "RW_D3D9" }
|
defines { "RWLIBS" }
|
||||||
|
staticruntime "on"
|
||||||
|
linkoptions "/SECTION:_rwcseg,ER!W /MERGE:_rwcseg=.text"
|
||||||
|
|
||||||
|
filter "configurations:Debug*"
|
||||||
|
defines { "DEBUG" }
|
||||||
|
|
||||||
|
filter "configurations:Release*"
|
||||||
|
defines { "NDEBUG" }
|
||||||
optimize "On"
|
optimize "On"
|
||||||
staticruntime "off"
|
|
||||||
symbols "Full"
|
|
||||||
setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
|
|
||||||
|
|
||||||
filter "configurations:ReleaseFH"
|
filter "configurations:ReleaseFH"
|
||||||
defines { "NDEBUG" }
|
prebuildcommands {}
|
||||||
symbols "Full"
|
|
||||||
optimize "off"
|
optimize "off"
|
||||||
staticruntime "on"
|
staticruntime "on"
|
||||||
setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
|
|
||||||
|
|
||||||
filter "configurations:DebugRW"
|
|
||||||
defines { "DEBUG" }
|
|
||||||
staticruntime "on"
|
|
||||||
symbols "On"
|
|
||||||
setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
|
|
||||||
linkoptions "/SECTION:_rwcseg,ER!W /MERGE:_rwcseg=.text"
|
|
||||||
|
|
||||||
filter "configurations:ReleaseRW"
|
|
||||||
defines { "NDEBUG" }
|
|
||||||
optimize "On"
|
|
||||||
staticruntime "on"
|
|
||||||
setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
|
|
||||||
linkoptions "/SECTION:_rwcseg,ER!W /MERGE:_rwcseg=.text"
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user