2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-16 01:22:20 +00:00

Disable installation when used with boost superproject

This commit is contained in:
Flamefire
2019-12-28 16:35:20 +01:00
parent c3dd00723f
commit b7d007bd09
3 changed files with 5 additions and 4 deletions

View File

@@ -84,13 +84,13 @@ jobs:
run: mkdir __build_static __build_shared
- name: Configure static
working-directory: __build_static
run: cmake .. -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=nowide -DCMAKE_BUILD_TYPE=Debug -DBOOST_NOWIDE_INSTALL=OFF
run: cmake .. -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=nowide -DCMAKE_BUILD_TYPE=Debug
- name: Build & Test static
working-directory: __build_static
run: cmake --build . --config Debug && ctest --output-on-failure --build-config Debug
- name: Configure shared
working-directory: __build_shared
run: cmake .. -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=nowide -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DBOOST_NOWIDE_INSTALL=OFF
run: cmake .. -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=nowide -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON
- name: Build & Test shared
working-directory: __build_shared
run: cmake --build . --config Debug && ctest --output-on-failure --build-config Debug