fix doc example typo
[boost.git] / bootstrap.bat
blob326464f742de309b1facc610e8774d65d56ea3e4
1 REM Copyright (C) 2009 Vladimir Prus\r
2 REM\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
5 \r
6 @ECHO OFF\r
7 \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
10 cd tools\jam\src\r
12 call .\build.bat > ..\..\..\bjam.log\r
13 @ECHO OFF\r
14 cd ..\..\..\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
24 set toolset=msvc\r
26 ECHO using %toolset% ; > project-config.jam\r
28 ECHO.\r
29 ECHO Bootstrapping is done. To build, run:\r
30 ECHO.\r
31 ECHO     .\bjam\r
32 ECHO.    \r
33 ECHO To adjust configuration, edit 'project-config.jam'.\r
34 ECHO Further information:\r
35 ECHO.\r
36 ECHO     - Command line help:\r
37 ECHO     .\bjam --help\r
38 ECHO.     \r
39 ECHO     - Getting started guide: \r
40 ECHO     http://boost.org/more/getting_started/windows.html\r
41 ECHO.     \r
42 ECHO     - Boost.Build documentation:\r
43 ECHO     http://www.boost.org/boost-build2/doc/html/index.html\r
45 goto :end\r
47 :bjam_failure\r
49 ECHO.\r
50 ECHO Failed to build Boost.Jam build engine.\r
51 ECHO Please consult bjam.log for furter diagnostics.\r
52 ECHO.\r
53 ECHO You can try to obtain a prebuilt binary from\r
54 ECHO.\r
55 ECHO    http://sf.net/project/showfiles.php?group_id=7586^&package_id=72941\r
56 ECHO.\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
60 goto :end\r
62 :end\r