From 1daeca781e9771b36397cad32c4e6a3ddafb804b Mon Sep 17 00:00:00 2001 From: jacob1 Date: Mon, 7 Mar 2016 21:22:29 -0500 Subject: [PATCH] compile with -DDEBUG when using --debugging sconscript flag --- SConscript | 1 + 1 file changed, 1 insertion(+) diff --git a/SConscript b/SConscript index b93ea8da1..1053a9c90 100644 --- a/SConscript +++ b/SConscript @@ -448,6 +448,7 @@ if GetOption('debugging'): env.Append(CCFLAGS=['/MDd']) else: env.Append(CCFLAGS=['-Wall', '-g']) + env.Append(CPPDEFINES=['DEBUG']) elif GetOption('release'): if msvc: env.Append(CCFLAGS=['/O2', '/fp:fast'])