Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2007-05-18 11:01:27


Author: dgregor
Date: 2007-05-18 11:01:26 EDT (Fri, 18 May 2007)
New Revision: 4117
URL: http://svn.boost.org/trac/boost/changeset/4117

Log:
Turn BOOST_DISABLE_LIBNAME into BUILD_BOOST_LIBNAME, and turn off testing by default

Text files modified:
   sandbox/troy/boost_1_34_0/tools/build/CMake/boost-core.cmake | 12 ++++++------
   sandbox/troy/boost_1_34_0/tools/build/CMake/boost-testing.cmake | 2 +-
   2 files changed, 7 insertions(+), 7 deletions(-)

Modified: sandbox/troy/boost_1_34_0/tools/build/CMake/boost-core.cmake
==============================================================================
--- sandbox/troy/boost_1_34_0/tools/build/CMake/boost-core.cmake (original)
+++ sandbox/troy/boost_1_34_0/tools/build/CMake/boost-core.cmake 2007-05-18 11:01:26 EDT (Fri, 18 May 2007)
@@ -146,11 +146,11 @@
     ${ARGN}
     )
 
- string(TOUPPER "DISABLE_BOOST_${libname_}" BOOST_DISABLE_LIB_OPTION)
- option(${BOOST_DISABLE_LIB_OPTION}
- " Disable build of Boost.${libname_} (prefer make targets, not this, to build individual libs)"
- OFF)
- if(NOT ${BOOST_DISABLE_LIB_OPTION})
+ string(TOUPPER "BUILD_BOOST_${libname_}" BOOST_BUILD_LIB_OPTION)
+ option(${BOOST_BUILD_LIB_OPTION}
+ "Build Boost.${libname_} (prefer make targets, not this, to build individual libs)"
+ ON)
+ if(${BOOST_BUILD_LIB_OPTION})
 
     string(TOLOWER "${libname_}" libname)
     project(${libname})
@@ -166,7 +166,7 @@
     foreach(SUBDIR ${THIS_SUBPROJECT_SRCDIRS} ${THIS_SUBPROJECT_TESTDIRS})
       add_subdirectory(${SUBDIR})
     endforeach(SUBDIR ${THIS_SUBPROJECT_SRCDIRS} ${THIS_SUBPROJECT_TESTDIRS})
- endif(NOT ${BOOST_DISABLE_LIB_OPTION})
+ endif(${BOOST_BUILD_LIB_OPTION})
 endmacro(boost_library_subproject)
 
 macro(push_back_target_property target property pushvalue)

Modified: sandbox/troy/boost_1_34_0/tools/build/CMake/boost-testing.cmake
==============================================================================
--- sandbox/troy/boost_1_34_0/tools/build/CMake/boost-testing.cmake (original)
+++ sandbox/troy/boost_1_34_0/tools/build/CMake/boost-testing.cmake 2007-05-18 11:01:26 EDT (Fri, 18 May 2007)
@@ -35,7 +35,7 @@
 # inside boost_library_subproject. this use of a global (hrm) is standard practice
 # in cmakeland but we might not like this...
 #
-option(BUILD_TESTING "Enable testing" ON)
+option(BUILD_TESTING "Enable testing" OFF)
 if(BUILD_TESTING)
   set(NIGHTLY_START_TIME "23:30:00 EDT")
   set(DROP_METHOD "xmlrpc")


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk