1 REM Copyright (C) 2009 Vladimir Prus
\r
3 REM Distributed under the Boost Software License, Version 1.0.
\r
4 REM (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
\r
8 ECHO Building Boost.Jam build engine
\r
9 if exist ".\tools\jam\src\bin.ntx86\bjam.exe" del tools\jam\src\bin.ntx86\bjam.exe
\r
12 call .\build.bat > ..\..\..\bjam.log
\r
16 if not exist ".\tools\jam\src\bin.ntx86\bjam.exe" goto :bjam_failure
\r
18 copy .\tools\jam\src\bin.ntx86\bjam.exe . > nul
\r
20 REM Ideally, we should obtain the toolset that build.bat has
\r
21 REM guessed. However, it uses setlocal at the start and does
\r
22 REM export BOOST_JAM_TOOLSET, and I don't know how to do that
\r
23 REM properly. Default to msvc for now.
\r
26 ECHO using %toolset% ; > project-config.jam
\r
29 ECHO Bootstrapping is done. To build, run:
\r
33 ECHO To adjust configuration, edit 'project-config.jam'.
\r
34 ECHO Further information:
\r
36 ECHO - Command line help:
\r
39 ECHO - Getting started guide:
\r
40 ECHO http://boost.org/more/getting_started/windows.html
\r
42 ECHO - Boost.Build documentation:
\r
43 ECHO http://www.boost.org/boost-build2/doc/html/index.html
\r
50 ECHO Failed to build Boost.Jam build engine.
\r
51 ECHO Please consult bjam.log for furter diagnostics.
\r
53 ECHO You can try to obtain a prebuilt binary from
\r
55 ECHO http://sf.net/project/showfiles.php?group_id=7586^&package_id=72941
\r
57 ECHO Also, you can file an issue at http://svn.boost.org
\r
58 ECHO Please attach bjam.log in that case.
\r