Version 29 (modified by 13 years ago) ( diff ) | ,
---|
CMake-Based Build System
Boost.Cmake is an alternative build system for Boost based on CMake, a cross-platform, open-source make system.
Mailing list
Join the boost-cmake mailing list here:
IRC
Discuss boost-cmake on freenode.net IRC in #alt.boost.
Versions
1.40.0
The cmake build in the standard boost distribution tarball for 1.40.0 is BROKEN
The cmake distribution for 1.40.0 is on a branch in a git repository on gitorious.org:
The latest tag for is 1.40.0.cmake1 (Oct 10, 2009).
The direct download link for a 1.40.0 cmake-buildable tarball is here:
http://gitorious.org/~straszheim/boost/cmake/commits/1.40.0
and if that link gives you trouble, there are already exported tarballs here:
The new documentation (which contains most of what is below. What is below is probably no longer completely reliable) is viewable online here:
As well as inside the tarball in the directory tools/build/CMake/docs/build/html/index.html
As usual, patches to the code and/or documentation are gratefully accepted. If you make a clone of the git repository, push your patches and make a merge request, even better.
1.39.0 and 1.38.0
See the notes by version.
Older wiki stuff, may not be reliable
How Do I…
Reference Documentation
- Project macros
- boost_library_project - Designate a new Boost library project
- Building binaries
- boost_add_library - Add a compiled Boost library
- boost_add_executable - Add a compiled executable
- Regression testing
- boost_test_run - Compile and execute a test
- boost_test_run_fail - Compile and execute a test (which is expected to fail)
- boost_test_compile - Compile a test
- boost_test_compile_fail - Compile a test (which should fail to compile)
- Build features - Different library build features supported by the build system
- CMake Macro Reference (note that this documentation is also compiled in to cmake itself. The command
cmake --help-full
will display it.)
Commentary
Ongoing Development
- Boost-cmake mailing list
- CMake TODO list - Start here to get involved!
- CMakeModularizationStatus - Modularization status
- There is a CMake component in trac: keep us abreast of any bugs.