[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43519] trunk/blender/source/blender/ makesrna/intern/SConscript: Fix for building in release mode with scons.

Nicholas Bishop nicholasbishop at gmail.com
Thu Jan 19 08:12:34 CET 2012


Revision: 43519
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43519
Author:   nicholasbishop
Date:     2012-01-19 07:12:30 +0000 (Thu, 19 Jan 2012)
Log Message:
-----------
Fix for building in release mode with scons.

Change given thumbs up from JesterKing.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/SConscript

Modified: trunk/blender/source/blender/makesrna/intern/SConscript
===================================================================
--- trunk/blender/source/blender/makesrna/intern/SConscript	2012-01-19 06:14:50 UTC (rev 43518)
+++ trunk/blender/source/blender/makesrna/intern/SConscript	2012-01-19 07:12:30 UTC (rev 43519)
@@ -101,6 +101,10 @@
 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))



More information about the Bf-blender-cvs mailing list