summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-11 19:10:01 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-11 19:10:01 +0200
commit36e2bc95d385c79075495d96e066d697727449d5 (patch)
treeea31257f477421dedf55decfd8bde8f478198d4a /premake5.lua
parentLinux build support (diff)
downloadre3-36e2bc95d385c79075495d96e066d697727449d5.tar
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.gz
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.bz2
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.lz
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.xz
re3-36e2bc95d385c79075495d96e066d697727449d5.tar.zst
re3-36e2bc95d385c79075495d96e066d697727449d5.zip
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index dc16e31e..08ace524 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -90,7 +90,8 @@ workspace "re3"
}
debugdir (gamepath)
if (exepath) then
- debugcommand (gamepath .. exepath)
+ -- Used VS variable $(TargetFileName) because it doesn't accept premake tokens. Does debugcommand even work outside VS??
+ debugcommand (gamepath .. "$(TargetFileName)")
dir, file = exepath:match'(.*/)(.*)'
debugdir (gamepath .. (dir or ""))
end