remove scriptspath from premake

This commit is contained in:
withmorten 2021-01-13 14:34:58 +01:00
parent 49c8292e48
commit d1b2dd2831
1 changed files with 2 additions and 4 deletions

View File

@ -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