diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-30 04:56:51 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-30 05:02:15 +0300 |
commit | dc0e9983abe969b32288b843e1366893641ded1b (patch) | |
tree | caac109da17e75c449b22c959ac7e9fca9307cb3 /project/ci/appveyor | |
parent | project.boost.build: switch to --layout=system (diff) | |
download | cmake-common-dc0e9983abe969b32288b843e1366893641ded1b.tar.gz cmake-common-dc0e9983abe969b32288b843e1366893641ded1b.zip |
project.cmake: make it --boost aware
Diffstat (limited to 'project/ci/appveyor')
-rw-r--r-- | project/ci/appveyor/cmake.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/project/ci/appveyor/cmake.py b/project/ci/appveyor/cmake.py index c1b851c..b720f6b 100644 --- a/project/ci/appveyor/cmake.py +++ b/project/ci/appveyor/cmake.py @@ -105,6 +105,8 @@ def _parse_args(argv=None): parser.add_argument('--install', metavar='DIR', dest='install_dir', help='install directory') + parser.add_argument('--boost', metavar='DIR', dest='boost_dir', + help='set Boost directory path') parser.add_argument('cmake_args', nargs='*', metavar='CMAKE_ARG', default=[], help='additional CMake arguments, to be passed verbatim') return parser.parse_args(argv) @@ -122,6 +124,7 @@ def build_appveyor(argv=None): install_dir=args.install_dir, platform=_get_platform(), configuration=_get_configuration(), + boost_dir=args.boost_dir, cmake_args=cmake_args) build(params) |