summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-13 14:34:58 +0100
committerGitHub <noreply@github.com>2021-01-13 14:34:58 +0100
commite8727cf4a15014ac179a185a662e70f0a98cde52 (patch)
tree911844a5c05262112056da26d8bb06fbe8f79742 /premake5.lua
parentmore renames (diff)
downloadre3-e8727cf4a15014ac179a185a662e70f0a98cde52.tar
re3-e8727cf4a15014ac179a185a662e70f0a98cde52.tar.gz
re3-e8727cf4a15014ac179a185a662e70f0a98cde52.tar.bz2
re3-e8727cf4a15014ac179a185a662e70f0a98cde52.tar.lz
re3-e8727cf4a15014ac179a185a662e70f0a98cde52.tar.xz
re3-e8727cf4a15014ac179a185a662e70f0a98cde52.tar.zst
re3-e8727cf4a15014ac179a185a662e70f0a98cde52.zip
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/premake5.lua b/premake5.lua
index 0d77ae2c..d4ef5198 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -171,11 +171,10 @@ workspace "re3"
filter {}
- function setpaths (gamepath, exepath, scriptspath)
- scriptspath = scriptspath or ""
+ function setpaths (gamepath, exepath)
if (gamepath) then
postbuildcommands {
- '{COPYFILE} "%{cfg.buildtarget.abspath}" "' .. gamepath .. scriptspath .. '%{cfg.buildtarget.name}"'
+ '{COPYFILE} "%{cfg.buildtarget.abspath}" "' .. gamepath .. '%{cfg.buildtarget.name}"'
}
debugdir (gamepath)
if (exepath) then
@@ -185,7 +184,6 @@ workspace "re3"
debugdir (gamepath .. (dir or ""))
end
end
- --targetdir ("bin/%{prj.name}/" .. scriptspath)
end
if(_OPTIONS["with-librw"]) then
@@ -307,7 +305,7 @@ project "re3"
filter {}
if(os.getenv("GTA_III_RE_DIR")) then
- setpaths("$(GTA_III_RE_DIR)/", "%(cfg.buildtarget.name)", "")
+ setpaths("$(GTA_III_RE_DIR)/", "%(cfg.buildtarget.name)")
end
filter "platforms:win*"