| 100 | | == Packaging Boost == |
| 101 | | |
| 102 | | CMake can easily build binary packages for a variety of platforms. On Windows and Mac OS X, CMake builds graphical installation programs. For other Unix operating systems, CMake currently builds tarballs and self-installing shell scripts. This CMake functionality, providing by the CPack program that is part of CMake, is used to create all of the CMake's binary installers. |
| 103 | | |
| 104 | | Building binary installation packages with CMake is similar to installing Boost. |
| 105 | | === On Windows === |
| 106 | | One must first download and install the [http://nsis.sourceforge.net/Main_Page Nullsoft Scriptable Install System (NSIS)]. Then, using Microsoft Visual Studio, one loads the Boost project/solution and build the `PACKAGE` target to generate the graphical installer. |
| 107 | | === On Mac OS X, other Unix platforms, and on Windows when using a makefile generator === |
| 108 | | change into $BOOST/build and use the `package` make target, e.g., |
| 109 | | {{{ |
| 110 | | make package |
| 111 | | }}} |
| 112 | | |
| 113 | | Once this process completes, you will have several binary installers for you platform. |