2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-10 11:22:12 +00:00
Files
build/bootstrap.bat
luzpaz a2b8731d2a build: misc.typos (#341)
* build: misc.typos

Found via `codespell -q 3 --skip="./src/engine/boehm_gc" -L te,iff`

* Revert 3rdParty code changes
2018-09-26 09:54:06 -07:00

51 lines
1.1 KiB
Batchfile

@ECHO OFF
REM Copyright (C) 2009 Vladimir Prus
REM
REM Distributed under the Boost Software License, Version 1.0.
REM (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
ECHO Bootstrapping the build engine
if exist ".\src\engine\bin.ntx86\bjam.exe" del src\engine\bin.ntx86\bjam.exe
if exist ".\src\engine\bin.ntx86_64\bjam.exe" del src\engine\bin.ntx86_64\bjam.exe
pushd src\engine
call .\build.bat %* > ..\..\bootstrap.log
@ECHO OFF
popd
if exist ".\src\engine\bin.ntx86\b2.exe" (
copy .\src\engine\bin.ntx86\b2.exe . > nul
copy .\src\engine\bin.ntx86\bjam.exe . > nul
goto :bjam_built)
if exist ".\src\engine\bin.ntx86_64\b2.exe" (
copy .\src\engine\bin.ntx86_64\b2.exe . > nul
copy .\src\engine\bin.ntx86_64\bjam.exe . > nul
goto :bjam_built)
goto :bjam_failure
:bjam_built
ECHO.
ECHO Bootstrapping is done. To build, run:
ECHO.
ECHO .\b2 --prefix=DIR install
ECHO.
goto :end
:bjam_failure
ECHO.
ECHO Failed to bootstrap the build engine
ECHO Please consult bootstrap.log for further diagnostics.
ECHO.
goto :end
:end
exit /b %ERRORLEVEL%