diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-20 13:36:54 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-22 15:34:14 (GMT) |
commit | 5b564c371efefe3b86aea1a0d0575475e5b321c5 (patch) | |
tree | daa573fe4830f9d37ecb0a78312954881ad49e05 /.gitlab/ci | |
parent | 809f9a99165e1e8463a9af398282c8fa01ff761b (diff) | |
download | CMake-5b564c371efefe3b86aea1a0d0575475e5b321c5.zip CMake-5b564c371efefe3b86aea1a0d0575475e5b321c5.tar.gz CMake-5b564c371efefe3b86aea1a0d0575475e5b321c5.tar.bz2 |
gitlab-ci: add Windows infrastructure
Diffstat (limited to '.gitlab/ci')
-rw-r--r-- | .gitlab/ci/configure_common.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_common.cmake b/.gitlab/ci/configure_common.cmake index 165ae55..4585224 100644 --- a/.gitlab/ci/configure_common.cmake +++ b/.gitlab/ci/configure_common.cmake @@ -6,4 +6,8 @@ set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY "ON" CACHE STRING "") set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "") set(CMake_TEST_INSTALL "OFF" CACHE BOOL "") +if (NOT "$ENV{CMAKE_BUILD_TYPE}" STREQUAL "") + set(CMAKE_BUILD_TYPE "$ENV{CMAKE_BUILD_TYPE}" CACHE STRING "") +endif () + include("${CMAKE_CURRENT_LIST_DIR}/configure_sccache.cmake") |