summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-13 17:47:00 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-13 17:47:00 +0100
commit7388cc8a784bc0d6b56a043c438917ee203873d9 (patch)
treeb14a74897b0d6882c8f08dc367d0852aea2ce002 /premake5.lua
parentsome script (diff)
parentremove scriptspath from premake (diff)
downloadre3-7388cc8a784bc0d6b56a043c438917ee203873d9.tar
re3-7388cc8a784bc0d6b56a043c438917ee203873d9.tar.gz
re3-7388cc8a784bc0d6b56a043c438917ee203873d9.tar.bz2
re3-7388cc8a784bc0d6b56a043c438917ee203873d9.tar.lz
re3-7388cc8a784bc0d6b56a043c438917ee203873d9.tar.xz
re3-7388cc8a784bc0d6b56a043c438917ee203873d9.tar.zst
re3-7388cc8a784bc0d6b56a043c438917ee203873d9.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