[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41368] trunk/blender/CMakeLists.txt: Fix RelWithDebInfo build.
Andrew Wiggin
ender79bl at gmail.com
Sat Oct 29 18:14:38 CEST 2011
Revision: 41368
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41368
Author: ender79
Date: 2011-10-29 16:14:38 +0000 (Sat, 29 Oct 2011)
Log Message:
-----------
Fix RelWithDebInfo build.
RelWithDebInfo sets the library path to only include release libraries (e.g. python32.lib) but defining _DEBUG when #include'ing python headers inserts a linker directive to require for python32_d.lib. Additionally, RelWithDebInfo should be different from release build in that it builds debugger symbols (.PDBs), it should not have asserts and other debug code.
Modified Paths:
--------------
trunk/blender/CMakeLists.txt
Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt 2011-10-29 15:46:14 UTC (rev 41367)
+++ trunk/blender/CMakeLists.txt 2011-10-29 16:14:38 UTC (rev 41368)
@@ -65,7 +65,7 @@
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_DEBUG DEBUG _DEBUG)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELEASE NDEBUG)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL NDEBUG)
-set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO DEBUG _DEBUG)
+set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO NDEBUG)
#-----------------------------------------------------------------------------
More information about the Bf-blender-cvs
mailing list