]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/bootstrap.bat
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / tools / build / bootstrap.bat
1 @ECHO OFF
2
3 REM Copyright (C) 2009 Vladimir Prus
4 REM Copyright 2019-2020 Rene Rivera
5 REM
6 REM Distributed under the Boost Software License, Version 1.0.
7 REM (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
8
9
10 :b2_build
11 ECHO Building the B2 engine..
12 pushd src\engine
13 call .\build.bat %*
14 @ECHO OFF
15 popd
16 if exist ".\src\engine\b2.exe" (
17 copy .\src\engine\b2.exe . > nul
18 goto :b2_built)
19 goto :b2_failure
20
21
22 :b2_built
23 ECHO.
24 ECHO Building is done. To install, run:
25 ECHO.
26 ECHO .\b2 --prefix=DIR install
27 ECHO.
28 goto :end
29
30
31 :b2_failure
32 ECHO.
33 ECHO Failed to build the B2 engine.
34 ECHO.
35 goto :end
36
37
38 :end
39 exit /b %ERRORLEVEL%