diff --git a/boost_build_v2.html b/boost_build_v2.html index 94f7827f7..41ca08ed4 100644 --- a/boost_build_v2.html +++ b/boost_build_v2.html @@ -4,14 +4,13 @@ + "HTML Tidy for Linux/x86 (vers 1st March 2002), see www.w3.org"> Boost.Build v2 user manual - - + + + - build request, build request expansion and directly requested targets + - conditional properties + -->

The default "bootstrap.jam", after loading some standard definitions, + loads two files, which can be provided/customised by user: + "site-config.jam" and "user-config.jam".

+ +

Locations where those files a search are summarized below:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ search paths for configuration files +
+ site-config.jamuser-config.jam
Linux/etc
+ $HOME
+ $BOOST_BUILD_PATH
$HOME
+ $BOOST_BUILD_PATH
Windows$SystemRoot
+ $HOME
+ $BOOST_BUILD_PATH
$HOME
+ $BOOST_BUILD_PATH
+ Boost.Build comes with default versions of those files, which can serve + as templates for customized versions. +

Command line

The comamnd line may contain:

diff --git a/new/build-system.jam b/new/build-system.jam index cb1af6d2a..2ae549a98 100644 --- a/new/build-system.jam +++ b/new/build-system.jam @@ -11,11 +11,22 @@ import errors : error ; import builtin ; import make ; +import os ; import version ; -import site-config ; -import user-config ; +local user-path = [ modules.peek : HOME ] [ modules.peek : BOOST_BUILD_PATH ] ; +if [ os.name ] in NT CYGWIN +{ + modules.load site-config : : [ modules.peek : SystemRoot ] $(user-path) ; + modules.load user-config : : $(user-path) ; +} +else +{ + modules.load site-config : : /etc $(user-path) ; + modules.load user-config : : $(user-path) ; +} + if --version in [ modules.peek : ARGV ] { diff --git a/v2/boost_build_v2.html b/v2/boost_build_v2.html index 94f7827f7..41ca08ed4 100644 --- a/v2/boost_build_v2.html +++ b/v2/boost_build_v2.html @@ -4,14 +4,13 @@ + "HTML Tidy for Linux/x86 (vers 1st March 2002), see www.w3.org"> Boost.Build v2 user manual - - + + + - build request, build request expansion and directly requested targets + - conditional properties + -->

The default "bootstrap.jam", after loading some standard definitions, + loads two files, which can be provided/customised by user: + "site-config.jam" and "user-config.jam".

+ +

Locations where those files a search are summarized below:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ search paths for configuration files +
+ site-config.jamuser-config.jam
Linux/etc
+ $HOME
+ $BOOST_BUILD_PATH
$HOME
+ $BOOST_BUILD_PATH
Windows$SystemRoot
+ $HOME
+ $BOOST_BUILD_PATH
$HOME
+ $BOOST_BUILD_PATH
+ Boost.Build comes with default versions of those files, which can serve + as templates for customized versions. +

Command line

The comamnd line may contain: