aboutsummaryrefslogtreecommitdiffstats
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:49:21 +0100
commitdacd3897997f85be432078ce2336be54c926f1bf (patch)
treed0ccb10b9cd0f9ac96c5272857e03c43e5b1d176 /premake5.lua
parent361808923a099674d7af6701670ecb90d905c337 (diff)
remove scriptspath from premake
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 e62ad6be..857293a9 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -172,11 +172,10 @@ workspace "reVC"
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 "reVC"
debugdir (gamepath .. (dir or ""))
end
end
- --targetdir ("bin/%{prj.name}/" .. scriptspath)
end
if(_OPTIONS["with-librw"]) then
@@ -309,7 +307,7 @@ project "reVC"
filter {}
if(os.getenv("GTA_VC_RE_DIR")) then
- setpaths("$(GTA_VC_RE_DIR)/", "%(cfg.buildtarget.name)", "")
+ setpaths("$(GTA_VC_RE_DIR)/", "%(cfg.buildtarget.name)")
end
filter "platforms:win*"