summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-24 13:27:02 +0200
committeraap <aap@papnet.eu>2020-04-24 14:08:06 +0200
commit5bb4e9992679c9e8767d4eb6de54da1892ec13c6 (patch)
treebed321a714eed597caa620a77bdd00f9e2b6a153 /premake5.lua
parentimplemented skinned peds, no cutscene hands yet (diff)
downloadre3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.gz
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.bz2
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.lz
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.xz
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.zst
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.zip
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index 14aab9d8..baf26a42 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -22,6 +22,7 @@ workspace "re3"
files { "src/text/*.*" }
files { "src/vehicles/*.*" }
files { "src/weapons/*.*" }
+ files { "src/extras/*.*" }
files { "eax/*.*" }
includedirs { "src" }
@@ -42,6 +43,7 @@ workspace "re3"
includedirs { "src/text" }
includedirs { "src/vehicles" }
includedirs { "src/weapons" }
+ includedirs { "src/extras" }
includedirs { "eax" }
includedirs { "dxsdk/include" }
@@ -73,7 +75,7 @@ workspace "re3"
"set filename=%%~ni",
"set fileextension=%%~xi",
"set target=!path!!filename!!fileextension!",
- "if exist \"!target!\" copy /y \"!file!\" \"!target!\"",
+ "copy /y \"!file!\" \"!target!\"",
")" }
function setpaths (gamepath, exepath, scriptspath)
@@ -106,7 +108,7 @@ project "re3"
staticruntime "off"
filter "configurations:not *RW"
- prebuildcommands { "cd \"../librw\" && premake5 " .. _ACTION .. " && msbuild \"build/librw.sln\" /property:Configuration=%{cfg.longname} /property:Platform=\"win-x86-d3d9\"" }
+ -- prebuildcommands { "cd \"../librw\" && premake5 " .. _ACTION .. " && msbuild \"build/librw.sln\" /property:Configuration=%{cfg.longname} /property:Platform=\"win-x86-d3d9\"" }
defines { "LIBRW", "RW_D3D9" }
filter "configurations:*RW"