From 8eea89d3b1dc54752bfd75b27114a4ccfb8c41c0 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Thu, 13 Jun 2019 11:12:42 +0200 Subject: CI add debug mode --- premake5.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'premake5.lua') diff --git a/premake5.lua b/premake5.lua index 68a08a1a..49d0d502 100644 --- a/premake5.lua +++ b/premake5.lua @@ -1,5 +1,5 @@ workspace "re3" - configurations { "ReleaseCI", "Release", "ReleaseFH", "Debug" } + configurations { "DebugCI", "ReleaseCI", "Release", "ReleaseFH", "Debug" } location "build" files { "src/*.*" } @@ -62,12 +62,11 @@ project "re3" debugcommand "F:/Rockstar Games/GTAIII/gta3.exe" targetextension ".asi" targetdir "F:/Rockstar Games/GTAIII/scripts" + filter "configurations:DebugCI" + defines { "DEBUG" } + symbols "On" + staticruntime "on" filter "configurations:ReleaseCI" defines { "NDEBUG" } optimize "On" staticruntime "on" - filter "configurations:DebugCI" - defines { "DEBUG" } - staticruntime "on" - symbols "On" - -- cgit v1.2.3