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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-01-19 11:12:30 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-01-19 11:12:30 +0400
commit65fca39f77981db5a649d942f308fa457d18cb41 (patch)
tree1f9e305e2c16f5392247a72bb6dcd1e35aee3c47 /source/blender
parent480b1030f911ac65a0ee5b0ffa8bcad2b0fc8323 (diff)
Fix for building in release mode with scons.
Change given thumbs up from JesterKing.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/SConscript b/source/blender/makesrna/intern/SConscript
index b74972b204c..26fa793de9d 100644
--- a/source/blender/makesrna/intern/SConscript
+++ b/source/blender/makesrna/intern/SConscript
@@ -101,6 +101,10 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
if env['WITH_BF_INTERNATIONAL']:
defs.append('WITH_INTERNATIONAL')
+if not env['BF_DEBUG']:
+ defs.append('NDEBUG')
+
+
makesrna_tool.Append(CPPDEFINES=defs)
makesrna_tool.Append (CPPPATH = Split(incs))