Skip to content
Snippets Groups Projects
Commit 3cc4c540 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Build only one configuration of dependencies

parent c38dbd5c
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ if [ $TRAVIS_OS_NAME == linux ]; then
-DBUILD_LIB_TESTS=ON \
-DBUILD_SHARED_LIBS=ON \
-DHUNTER_ENABLED=ON \
#-DHUNTER_CONFIGURATION_TYPES=Debug \ << needs gtest release for some reason
-DHUNTER_ROOT=/tmp/.deps \
-DUSE_BUNDLED_OPENSSL=OFF \
-DCOVERAGE=${COVERAGE} || true
......@@ -34,12 +35,13 @@ fi
if [ $TRAVIS_OS_NAME == osx ]; then
# Build the library.
export OPENSSL_ROOT_DIR=/usr/local/opt/openssl
cmake -H. -Bbuild \
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release \
-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl \
-DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include \
-DBUILD_LIB_TESTS=OFF \
-DBUILD_SHARED_LIBS=ON \
-DHUNTER_ENABLED=ON \
-DHUNTER_CONFIGURATION_TYPES=Release \
-DHUNTER_ROOT=/tmp/.deps \
-DUSE_BUNDLED_OPENSSL=OFF \
-DUSE_BUNDLED_GTEST=OFF || true
......
......@@ -22,5 +22,5 @@ build_script:
- cmake --version
- cmake -G "Visual Studio 15 2017 Win64" -H. -Bbuild -DHUNTER_ENABLED=ON -DHUNTER_ROOT="C:\hunter"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Release -DHUNTER_CONFIGURATION_TYPES=Release
- cmake --build build --config Release
hunter_config(Boost VERSION 1.70.0)
hunter_config(Boost VERSION "1.70.0-p0")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment