diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-06 23:49:46 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-06 23:49:46 +0300 |
commit | addd6ff33184614c6ad191436d34ea7528b17878 (patch) | |
tree | 34a8efb72bfb266f9ab47d65522883eaac6e70a6 /project/boost/directory.py | |
parent | "toolchain" -> "toolset", part 1 (diff) | |
download | cmake-common-addd6ff33184614c6ad191436d34ea7528b17878.tar.gz cmake-common-addd6ff33184614c6ad191436d34ea7528b17878.zip |
"toolchain" -> "toolset", part 2
Diffstat (limited to '')
-rw-r--r-- | project/boost/directory.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/project/boost/directory.py b/project/boost/directory.py index 7c39383..be660ab 100644 --- a/project/boost/directory.py +++ b/project/boost/directory.py @@ -6,7 +6,7 @@ import logging import os.path -from project.boost.toolset import Toolchain +from project.boost.toolset import Toolset from project.utils import cd, run from project.os import on_windows @@ -33,7 +33,7 @@ class BoostDir: def bootstrap(self, params): with self._go(): - run([self._bootstrap_path()] + self._bootstrap_args(params.toolset)) + run([self._bootstrap_path()] + self._bootstrap_args(params.toolset_hint)) def _b2(self, params): for b2_params in params.enum_b2_args(): @@ -52,10 +52,10 @@ class BoostDir: @staticmethod def _bootstrap_args(hint): - toolchain = Toolchain.detect(hint) + toolset = Toolset.detect(hint) if on_windows(): - return toolchain.get_bootstrap_bat_args() - return toolchain.get_bootstrap_sh_args() + return toolset.get_bootstrap_bat_args() + return toolset.get_bootstrap_sh_args() @staticmethod def _b2_path(): |