From 36e2bc95d385c79075495d96e066d697727449d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Mon, 11 May 2020 20:10:01 +0300 Subject: Fix Windows build and premake --- premake5.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'premake5.lua') 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 -- cgit v1.2.3