summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
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