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/travis | |
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/travis')
-rw-r--r-- | project/ci/travis/cmake.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/project/ci/travis/cmake.py b/project/ci/travis/cmake.py index 47177bc..2814e41 100644 --- a/project/ci/travis/cmake.py +++ b/project/ci/travis/cmake.py @@ -61,6 +61,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) @@ -75,6 +77,7 @@ def build_travis(argv=None): install_dir=args.install_dir, platform=_get_platform(), configuration=_get_configuration(), + boost_dir=args.boost_dir, cmake_args=args.cmake_args) build(params) |