diff --git a/boost_build_v2.html b/boost_build_v2.html index 9d523a718..0bd3e69a3 100644 --- a/boost_build_v2.html +++ b/boost_build_v2.html @@ -22,12 +22,12 @@ div.alert { color: red } table { align: center; border: thin; } - + + - build request, build request expansion and directly requested targets + - conditional properties + -->
It is slighly better way is to copy new/user-config.jam
+ into one of the locations where it can be found (given in this table). This prevent you from
+ accidentally overwriting your config when updating. To verify your installation, you can use bjam --version at
- the command line. When starting a new project which uses Boost.Build, you need to make
+ sure that build system can be found. There are two ways. If you're trying to use Boost.Build V2 on Boost itself, please note
+ that when building Boost, V1 is used by default. You'd have to add
+ --v2 command line option to all "bjam" invocations. Features which are neither free nor incidental are called
+ base features. TODO: document active features.. Locations where those files a search are summarized below:
Installation
- When using package management or installers, Boost.Build is ready to work
- instantly. In other case, two steps are required:
+ Assuming you're installing Boost.Build from sources, the following steps
+ are needed. All paths are given relatively to Boost.Build root directory,
+ which is the directory with the document you are reading. When using
+ Boost distribution, Boost.Build root is located at
+ $boost_root/tools/build.
-
-
-boost-build /path/to/boost.build ;
-
- The directory "examples" in the distribution already has this file,
- so you can build projects there and add new without doing anything.
+ Configure toolsets to use. Open new/user-config.jam file and
+ follow instructions there to specify what compiles/libraries you have
+ and where they are located. After that, you should be able to go to
+ examples-v2/hello, and run bjam there. A simple
+ application will be built. You can also play with other projects in
+ examples-v2.
+
+
+
+
+
+boost-build /path/to/boost.build ;
+
+ Tutorial
@@ -786,6 +818,9 @@ boost-build /path/to/boost.build ;
+ Feature Declaration
@@ -904,7 +939,8 @@ exe hello : hello.cpp : <toolset>yfc:<cxxflags>-disable-pointless-wa