summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-13 14:34:58 +0100
committerwithmorten <morten.with@gmail.com>2021-01-13 14:59:30 +0100
commitd1b2dd28310337d1301ed83c0d110ee1e03ad9ed (patch)
treed75780ffbd0938cdf0ae144edc07963ced330f78 /premake5.lua
parentFix target's name (diff)
downloadre3-d1b2dd28310337d1301ed83c0d110ee1e03ad9ed.tar
re3-d1b2dd28310337d1301ed83c0d110ee1e03ad9ed.tar.gz
re3-d1b2dd28310337d1301ed83c0d110ee1e03ad9ed.tar.bz2
re3-d1b2dd28310337d1301ed83c0d110ee1e03ad9ed.tar.lz
re3-d1b2dd28310337d1301ed83c0d110ee1e03ad9ed.tar.xz
re3-d1b2dd28310337d1301ed83c0d110ee1e03ad9ed.tar.zst
re3-d1b2dd28310337d1301ed83c0d110ee1e03ad9ed.zip
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/premake5.lua b/premake5.lua
index 6c26732c..11a0bbbd 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -172,11 +172,10 @@ workspace "reLCS"
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
@@ -186,7 +185,6 @@ workspace "reLCS"
debugdir (gamepath .. (dir or ""))
end
end
- --targetdir ("bin/%{prj.name}/" .. scriptspath)
end
if(_OPTIONS["with-librw"]) then