Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52808 - trunk
From: dgregor_at_[hidden]
Date: 2009-05-06 16:17:37


Author: dgregor
Date: 2009-05-06 16:17:36 EDT (Wed, 06 May 2009)
New Revision: 52808
URL: http://svn.boost.org/trac/boost/changeset/52808

Log:
Provide a CMake option for deciding between installers that bundle all of Boost vs. installers that download selected components on-the-fly
Text files modified:
   trunk/CMakeLists.txt | 14 ++++++++++----
   1 files changed, 10 insertions(+), 4 deletions(-)

Modified: trunk/CMakeLists.txt
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt 2009-05-06 16:17:36 EDT (Wed, 06 May 2009)
@@ -235,11 +235,17 @@
 endif(WIN32 AND NOT UNIX)
 include(CPack)
 
-if(COMMAND cpack_configure_downloads)
- cpack_configure_downloads(
- "http://www.osl.iu.edu/~dgregor/Boost-CMake/${BOOST_VERSION}/"
- ALL ADD_REMOVE)
+option(BOOST_INSTALLER_ON_THE_FLY
+ "Whether to build installers that download components on-the-fly" OFF)
+
+if (BOOST_INSTALLER_ON_THE_FLY)
+ if(COMMAND cpack_configure_downloads)
+ cpack_configure_downloads(
+ "http://www.osl.iu.edu/~dgregor/Boost-CMake/${BOOST_VERSION}/"
+ ALL ADD_REMOVE)
+ endif()
 endif()
+
 ##########################################################################
 
 ##########################################################################


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