Revert "Revert "Merge branch 'lcs' of https://github.com/GTAmodding/re3 into lcs""

This reverts commit 97c9a4a02c.
This commit is contained in:
Fire-Head
2021-01-13 23:17:53 +03:00
parent 97c9a4a02c
commit 8baa104453
40 changed files with 709 additions and 544 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