[Bf-committers] SVN Commit 26478 Break MSVC compil

Jérôme Lelong arsouilleur at gmail.com
Tue Feb 2 14:28:23 CET 2010


  Hi,

Seems that commit 26478 break compil blender on Msvc.

In file /trunk/blender/source/creator/CMakeLists.txt the line

   ADD_DEFINITIONS(-DBUILD_TYPE="${CMAKE_BUILD_TYPE}")

has been replace by

   ADD_DEFINITIONS(-DBUILD_TYPE=${CMAKE_BUILD_TYPE})

In CMake documentation, we ca found :
"Note that CMAKE_BUILD_TYPE is not initialized with a readable value
at configuration time. This is because the user is free to select a
build type at build time."

Then in file c:\blendersvn\blender\source\creator\buildinfo.c : const
char * build_type=STRINGIFY(BUILD_TYPE);
BUILD_TYPE is empty and MACRO can't expand.

Arsouille


More information about the Bf-committers mailing list