From 6214413e3e0783e6cb8e7c3cf825fa4b66251798 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 19 Jul 2014 10:11:51 -0700 Subject: [PATCH] NDEBUG *removes* asserts -- whoops --- SConstruct | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index 9b772dd..918fc56 100644 --- a/SConstruct +++ b/SConstruct @@ -153,17 +153,17 @@ def do_sconscript(env, build_env, src_dir, out_dir): debug_env = create_env('debug', { - 'CPPDEFINES': ['NDEBUG'], + 'CPPDEFINES': ['DEBUG', 'NRELEASE'], 'CCFLAGS': ['-O0', '-g'], }) beta_env = create_env('beta', { - 'CPPDEFINES': ['NDEBUG'], + 'CPPDEFINES': ['DEBUG', 'NRELEASE'], 'CCFLAGS': ['-O3', '-g'], }) release_env = create_env('release', { - 'CPPDEFINES': ['NRELEASE'], + 'CPPDEFINES': ['NDEBUG', 'RELEASE'], 'CCFLAGS': ['-O3'] })