diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-13 23:33:46 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-14 00:55:36 +0300 |
commit | fcfdc8abfd1998e4c65db107146d2c5d8462f447 (patch) | |
tree | 91150f8e3ae5db279b84a7f99fdcbf09d905585b /ci/boost | |
parent | boost/build.py: split into subcommands (diff) | |
download | cmake-common-fcfdc8abfd1998e4c65db107146d2c5d8462f447.tar.gz cmake-common-fcfdc8abfd1998e4c65db107146d2c5d8462f447.zip |
boost/build.py: get rid of --with LIB
Diffstat (limited to 'ci/boost')
-rwxr-xr-x | ci/boost/build.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ci/boost/build.py b/ci/boost/build.py index 2cd0043..541fd1e 100755 --- a/ci/boost/build.py +++ b/ci/boost/build.py @@ -225,14 +225,12 @@ class BoostBuild: def __init__(self, args): self.platforms = args.platforms or Platform.all() self.configurations = args.configurations or Configuration.all() - self.libraries = args.libraries self.b2_args = args.b2_args def enum_b2_params(self): for platform in self.platforms: platform_params = [] platform_params.append(self._address_model(platform)) - platform_params += self._with_optional() platform_params += self.b2_args if _on_windows(): platform_params.append(self._windows_stagedir(platform)) @@ -249,9 +247,6 @@ class BoostBuild: def _address_model(platform): return f'address-model={platform.get_address_model()}' - def _with_optional(self): - return [f'--with-{lib}' for lib in self.libraries] - @staticmethod def _windows_stagedir(platform): return f'--stagedir=stage/{platform}' @@ -295,9 +290,6 @@ def _parse_args(argv=None): nargs='*', dest='configurations', default=(), type=_parse_configuration, help='target configuration (e.g. Debug/Release)') - build.add_argument('--with', metavar='LIB', dest='libraries', - nargs='*', default=(), - help='only build these libraries') build.add_argument('boost_dir', metavar='DIR', help='Boost root directory') build.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=(), |