Skip to content

Commit

Permalink
Allow bootstrapping with "borland" (Embarcadero)
Browse files Browse the repository at this point in the history
Pass down user's toolset override to the `b2`-building script. This was
(most likely erroneously) removed in 26232c8 along with the output
redirection.

If user provided toolset of "borland" for bootstrapping, prepare
`project-config.jam` for the modern `embarcadero` toolset.
  • Loading branch information
tanzislam authored and glenfe committed Nov 30, 2022
1 parent 7a34bb1 commit e2ae786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ECHO Building Boost.Build engine
if exist ".\tools\build\src\engine\b2.exe" del tools\build\src\engine\b2.exe
pushd tools\build\src\engine

call .\build.bat
call .\build.bat %*
@ECHO OFF

popd
Expand All @@ -34,7 +34,7 @@ SET TOOLSET=msvc

IF "%1"=="gcc" SET TOOLSET=gcc
IF "%1"=="clang" SET TOOLSET=clang

IF "%1"=="borland" SET TOOLSET=embarcadero
IF "%1"=="vc71" SET TOOLSET=msvc : 7.1
IF "%1"=="vc8" SET TOOLSET=msvc : 8.0
IF "%1"=="vc9" SET TOOLSET=msvc : 9.0
Expand Down

0 comments on commit e2ae786

Please sign in to comment.