Windows / CMake:
authorThomas Dinges <blender@dingto.org>
Thu, 15 Nov 2012 19:45:37 +0000 (19:45 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 15 Nov 2012 19:45:37 +0000 (19:45 +0000)
* Disable Debug Boost detection in cmake. Debug libs for boost will be removed, they are quite huge in svn.
Keeping the lines here though, so devs with own debug libs can compile with it.

CMakeLists.txt

index 75401edbd93b4cf65ad86466b1ee0201f6867f35..68c87a81114f3a8768757bcfb7137347a306db61 100644 (file)
@@ -1119,23 +1119,23 @@ elseif(WIN32)
                        if(MSVC10)
                                set(BOOST_LIBPATH ${BOOST}/vc2010/lib)
                                set(BOOST_POSTFIX "vc100-mt-s-1_49.lib")
-                               set(BOOST_DEBUG_POSTFIX "vc100-mt-sgd-1_49.lib")
+                               #set(BOOST_DEBUG_POSTFIX "vc100-mt-sgd-1_49.lib")
                        else()
                                set(BOOST_LIBPATH ${BOOST}/lib)
                                set(BOOST_POSTFIX "vc90-mt-s-1_49.lib")
-                               set(BOOST_DEBUG_POSTFIX "vc90-mt-sgd-1_49.lib")
+                               #set(BOOST_DEBUG_POSTFIX "vc90-mt-sgd-1_49.lib")
                        endif()
                        set(BOOST_LIBRARIES
                                optimized libboost_date_time-${BOOST_POSTFIX} optimized libboost_filesystem-${BOOST_POSTFIX}
                                optimized libboost_regex-${BOOST_POSTFIX}
                                optimized libboost_system-${BOOST_POSTFIX} optimized libboost_thread-${BOOST_POSTFIX}
-                               debug libboost_date_time-${BOOST_DEBUG_POSTFIX} debug libboost_filesystem-${BOOST_DEBUG_POSTFIX}
-                               debug libboost_regex-${BOOST_DEBUG_POSTFIX}
-                               debug libboost_system-${BOOST_DEBUG_POSTFIX} debug libboost_thread-${BOOST_DEBUG_POSTFIX})
+                               #debug libboost_date_time-${BOOST_DEBUG_POSTFIX} debug libboost_filesystem-${BOOST_DEBUG_POSTFIX}
+                               #debug libboost_regex-${BOOST_DEBUG_POSTFIX}
+                               #debug libboost_system-${BOOST_DEBUG_POSTFIX} debug libboost_thread-${BOOST_DEBUG_POSTFIX})
                        if(WITH_INTERNATIONAL)
                                set(BOOST_LIBRARIES ${BOOST_LIBRARIES}
                                        optimized libboost_locale-${BOOST_POSTFIX}
-                                       debug libboost_locale-${BOOST_DEBUG_POSTFIX})
+                                       #debug libboost_locale-${BOOST_DEBUG_POSTFIX})
                        endif(WITH_INTERNATIONAL)
                        set(BOOST_DEFINITIONS "-DBOOST_ALL_NO_LIB")
                endif()