Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 5 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 7263a5ddfa1..0c398f87256 100644
--- a/SConstruct
+++ b/SConstruct
@@ -210,6 +210,11 @@ if sys.platform=='win32':
if B.bitness==64:
env.Append(CPPFLAGS=['-DWIN64']) # -DWIN32 needed too, as it's used all over to target Windows generally
+if env['BF_DEBUG']:
+ env.Append(CPPDEFINES=['_DEBUG', 'DEBUG'])
+else:
+ env.Append(CPPDEFINES=['NDEBUG'])
+
if not env['BF_FANCY']:
B.bc.disable()