summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-25 11:25:19 +0200
committerGitHub <noreply@github.com>2020-04-25 11:25:19 +0200
commitad9ebbd390e06de485d6d212f498326cc7d73d83 (patch)
tree7bc1ccc789ebbc5a22e57ec5ee65ac1ea8d3afb7 /premake5.lua
parentdisable mouse steering by default (diff)
parentimplemented debugmenu (diff)
downloadre3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar
re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.gz
re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.bz2
re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.lz
re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.xz
re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.tar.zst
re3-ad9ebbd390e06de485d6d212f498326cc7d73d83.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"