diff options
author | Brad King <brad.king@kitware.com> | 2023-03-20 15:07:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-21 13:00:03 (GMT) |
commit | be1549d95026bc3e58b8f96f8fd46366027631ce (patch) | |
tree | c8935d64364782b240b1817266fabaca36d53209 /.gitlab | |
parent | eb93e1ff187f9d3ad28668873248010517b81c52 (diff) | |
download | CMake-be1549d95026bc3e58b8f96f8fd46366027631ce.zip CMake-be1549d95026bc3e58b8f96f8fd46366027631ce.tar.gz CMake-be1549d95026bc3e58b8f96f8fd46366027631ce.tar.bz2 |
ci: Enable C++ modules tests with LLVM/Clang 16.0 on Windows
This works only with the GNU-like front-end and the Ninja generator.
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/configure_windows_clang_ninja.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_windows_clang_ninja.cmake b/.gitlab/ci/configure_windows_clang_ninja.cmake index ba19834..a66e302 100644 --- a/.gitlab/ci/configure_windows_clang_ninja.cmake +++ b/.gitlab/ci/configure_windows_clang_ninja.cmake @@ -1 +1,5 @@ +if("$ENV{CMAKE_CI_BUILD_NAME}" MATCHES "(^|_)gnu(_|$)") + set(CMake_TEST_MODULE_COMPILATION "named,partitions,internal_partitions,export_bmi,install_bmi,shared" CACHE STRING "") + set(CMake_TEST_MODULE_COMPILATION_RULES "${CMAKE_CURRENT_LIST_DIR}/cxx_modules_rules_clang.cmake" CACHE STRING "") +endif() include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_clang_common.cmake") |