Fix Windows build and premake

This commit is contained in:
eray orçunus
2020-05-11 20:10:01 +03:00
parent 8a4fa58cd4
commit 36e2bc95d3
7 changed files with 20 additions and 12 deletions

View File

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