summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-17 18:46:17 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-17 18:46:17 +0200
commit5922a9b88d58a81cef4c8ccb9652786b7b904e68 (patch)
tree6da83a58c89168dd7398d946a37209456573cb17
parentUse LIBRW env var it it's set (diff)
downloadre3-5922a9b88d58a81cef4c8ccb9652786b7b904e68.tar
re3-5922a9b88d58a81cef4c8ccb9652786b7b904e68.tar.gz
re3-5922a9b88d58a81cef4c8ccb9652786b7b904e68.tar.bz2
re3-5922a9b88d58a81cef4c8ccb9652786b7b904e68.tar.lz
re3-5922a9b88d58a81cef4c8ccb9652786b7b904e68.tar.xz
re3-5922a9b88d58a81cef4c8ccb9652786b7b904e68.tar.zst
re3-5922a9b88d58a81cef4c8ccb9652786b7b904e68.zip
-rw-r--r--premake5.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/premake5.lua b/premake5.lua
index 65443714..c427211a 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -106,31 +106,33 @@ project "re3"
defines { "DEBUG", "LIBRW", "RW_D3D9" }
staticruntime "off"
symbols "Full"
- setpaths("$(GTA_III_RE_DIR)/", "re3.exe", "")
+ setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
filter "configurations:Release"
defines { "NDEBUG", "LIBRW", "RW_D3D9" }
optimize "On"
staticruntime "off"
symbols "Full"
- setpaths("$(GTA_III_RE_DIR)/", "re3.exe", "")
+ setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
filter "configurations:ReleaseFH"
defines { "NDEBUG" }
symbols "Full"
optimize "off"
staticruntime "on"
- setpaths("$(GTA_III_RE_DIR)/", "re3.exe", "")
+ setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
filter "configurations:DebugRW"
defines { "DEBUG" }
staticruntime "on"
symbols "On"
- setpaths("$(GTA_III_RE_DIR)/", "re3.exe", "")
+ 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)/", "re3.exe", "")
+ setpaths("$(GTA_III_RE_DIR)/", "$(TargetFileName)", "")
+ linkoptions "/SECTION:_rwcseg,ER!W /MERGE:_rwcseg=.text"