summaryrefslogtreecommitdiff
path: root/bootstrap.bat
diff options
context:
space:
mode:
authorTanzinul Islam <t_17_7@hotmail.com>2020-12-03 13:00:42 +0000
committerGlen Fernandes <glen.fernandes@gmail.com>2022-11-30 05:31:12 -0500
commite2ae78645e6d7f6b455eea2f8c2846e67437b739 (patch)
treeb8027916ffd621d2bdd912878e695ce61e66e81c /bootstrap.bat
parent7a34bb1b5ab2cdbde527361740e6ecf8715e3426 (diff)
downloadboost-e2ae78645e6d7f6b455eea2f8c2846e67437b739.tar.gz
Allow bootstrapping with "borland" (Embarcadero)
Pass down user's toolset override to the `b2`-building script. This was (most likely erroneously) removed in 26232c8d4 along with the output redirection. If user provided toolset of "borland" for bootstrapping, prepare `project-config.jam` for the modern `embarcadero` toolset.
Diffstat (limited to 'bootstrap.bat')
-rw-r--r--bootstrap.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.bat b/bootstrap.bat
index 876a7638f1..7f4fd93e53 100644
--- a/bootstrap.bat
+++ b/bootstrap.bat
@@ -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
@@ -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