Changes between Version 17 and Version 18 of CMakeConfigAndBuild


Ignore:
Timestamp:
May 11, 2009, 1:50:51 PM (13 years ago)
Author:
troy d. straszheim
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CMakeConfigAndBuild

    v17 v18  
    1212  Note that it is '''not''' actually necessary to set any environment variable `BOOST`, this is a convention used in this document.
    1313 
    14 == Check out Boost-CMake ==
    15 To get a copy of Boost with the CMake build system, retrieve it from the [wiki:BoostSubversion  Boost Subversion repository] with the URL http://svn.boost.org/svn/boost/trunk]. 
     14== Check out the code ==
     15To get a copy of Boost with the CMake build system, retrieve it from the [wiki:BoostSubversion  Boost Subversion repository] with the URL http://svn.boost.org/svn/boost/branches/release]. 
    1616
    1717On unix:
    1818  {{{
    1919mkdir $BOOST
    20 svn co http://svn.boost.org/svn/boost/trunk $BOOST/src
     20svn co http://svn.boost.org/svn/boost/branches/release $BOOST/src
    2121  }}}
    2222
    2323=== Boost Trunk ===
    24 CMake files are now in the trunk to develop.
    25 
    26 === Boost 1.35.0 ===
    27 
    28 TDS 2008/05/18:
    29  
    30 We're working on retrofitting this release with cmakefiles:  The URL is
    31 {{{
    32 http://svn.boost.org/svn/boost/branches/CMake/Boost_1_35_0
    33 }}}
    34 the rest of the instructions are identical. 
     24The trunk is lagging behind the release (as we iterate towards the release of 1.40).  If you want to play with cmake, use the release branch.
    3525
    3626== Configure the Boost source tree ==
    37 To discourage the casual developer from trying the CMake build system before it is fully developed a "kill switch" has been added to the CMake file that needs to be turned off or the CMake build system will simply NOT work. In the top most CMakeLists.txt file ($BOOST/src/boost/CMakeLists.txt) you need to comment out the line
    38  message(FATAL_ERROR "")
    39 then follow the remaining instructions.
    4027
    4128This is the makefile generation step, using `CMake`'s configuration tool. This step differs depending on whether you are using CMake's GUI on Microsoft Windows or whether you are using the command-line tools provided on Unix.
     
    10188=== Microsoft Visual Studio ===
    10289If you have generated project files for Microsoft Visual Studio, you will need to start up Visual Studio to build Boost. Once Visual Studio has loaded, load the solution or project`Boost` from the Boost build directory you set in the CMake configuration earlier. Then, just click "Build" to build all of Boost.
     90
    10391=== On Unix (and when using makefile variants on Microsoft Windows) ===
    104 
    105 The first thing to run is the "modularize" target.
    106 {{{
    107 make modularize
    108 }}}
    109 
    110 This will MOVE most of the headers and subdirectories from the $BOOST/src/boost/boost into $BOOST/src/boost/libs. This WILL in effect DISABLE the bjam build system until you 'revert' your svn repository.
    111 
    112 The next step is to run the actual build.
    11392
    11493One builds using standard "make" tools. In the directory $BOOST/build (where the generated makefiles are) run `make`: