diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-08 15:46:29 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-08 17:40:56 +0300 |
commit | eff522c1f2355f12106ef44f8612dadbc6207ea8 (patch) | |
tree | 3c780751524c7ffc70f06ffe0e7177a3c0812e08 /boost/build/ci | |
parent | boost/build: refactoring (diff) | |
download | cmake-common-eff522c1f2355f12106ef44f8612dadbc6207ea8.tar.gz cmake-common-eff522c1f2355f12106ef44f8612dadbc6207ea8.zip |
boost/build: add --runtime-link
This time with more safety checks.
Diffstat (limited to 'boost/build/ci')
-rw-r--r-- | boost/build/ci/appveyor.py | 4 | ||||
-rwxr-xr-x | boost/build/ci/travis.py | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/boost/build/ci/appveyor.py b/boost/build/ci/appveyor.py index e6a330d..86488aa 100644 --- a/boost/build/ci/appveyor.py +++ b/boost/build/ci/appveyor.py @@ -58,6 +58,8 @@ def _parse_args(argv=None): parser = argparse.ArgumentParser() parser.add_argument('--link', metavar='LINKAGE', nargs='*', help='how the libraries are linked (i.e. static/shared)') + parser.add_argument('--runtime-link', metavar='LINKAGE', + help='how the libraries link to the runtime') parser.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=[], help='additional b2 arguments, to be passed verbatim') return parser.parse_args(argv) @@ -88,6 +90,8 @@ def build_appveyor(argv=None): if args.link is not None: appveyor_argv.append('--link') appveyor_argv += args.link + if args.runtime_link is not None: + appveyor_argv += ['--runtime-link', args.runtime_link] appveyor_argv += [ '--', version.dir_path(_get_build_dir()), ] diff --git a/boost/build/ci/travis.py b/boost/build/ci/travis.py index 74ba29f..1c65cc9 100755 --- a/boost/build/ci/travis.py +++ b/boost/build/ci/travis.py @@ -56,6 +56,8 @@ def _parse_args(argv=None): parser = argparse.ArgumentParser() parser.add_argument('--link', metavar='LINKAGE', nargs='*', help='how the libraries are linked (i.e. static/shared)') + parser.add_argument('--runtime-link', metavar='LINKAGE', + help='how the libraries link to the runtime') parser.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=[], help='additional b2 arguments, to be passed verbatim') return parser.parse_args(argv) @@ -86,6 +88,8 @@ def build_travis(argv=None): if args.link is not None: travis_argv.append('--link') travis_argv += args.link + if args.runtime_link is not None: + appveyor_argv += ['--runtime-link', args.runtime_link] travis_argv += [ '--', version.dir_path(_get_build_dir()), ] |