From dc0e9983abe969b32288b843e1366893641ded1b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 30 Mar 2020 04:56:51 +0300 Subject: project.cmake: make it --boost aware --- project/ci/appveyor/cmake.py | 3 +++ project/ci/travis/cmake.py | 3 +++ 2 files changed, 6 insertions(+) (limited to 'project/ci') 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) 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) -- cgit v1.2.3