From b3b74bf1f492e0132b0b41201c8d4f7bc8aa7e9a Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 14 Aug 2016 15:17:30 +0200 Subject: [PATCH] Rename debug flags, premake recognizes them as '--debug' and enables debug mode in release configurations --- premake5.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/premake5.lua b/premake5.lua index 363156b1..fc352a15 100644 --- a/premake5.lua +++ b/premake5.lua @@ -16,12 +16,12 @@ newoption { } newoption { - trigger = "debug-detections", + trigger = "ac-debug-detections", description = "Log anticheat detections." } newoption { - trigger = "debug-load-library", + trigger = "ac-debug-load-library", description = "Log libraries that get loaded." } @@ -210,10 +210,10 @@ workspace "iw4x" } -- Debug flags - if _OPTIONS["debug-detections"] then + if _OPTIONS["ac-debug-detections"] then defines { "DEBUG_DETECTIONS" } end - if _OPTIONS["debug-load-library"] then + if _OPTIONS["ac-debug-load-library"] then defines { "DEBUG_LOAD_LIBRARY" } end if _OPTIONS["force-unit-tests"] then