diff options
author | Brad King <brad.king@kitware.com> | 2022-02-02 20:53:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-02-04 13:24:53 (GMT) |
commit | c1f4bd792b28af10ded274e569b4b75cc722f0b7 (patch) | |
tree | 31eeee3197f8afe90e32708aa61b981662a06430 /.gitlab/ci/env_windows_clang_common.cmake | |
parent | f84dcbd496ad6abb1491b621142e2c222f23c11c (diff) | |
download | CMake-c1f4bd792b28af10ded274e569b4b75cc722f0b7.zip CMake-c1f4bd792b28af10ded274e569b4b75cc722f0b7.tar.gz CMake-c1f4bd792b28af10ded274e569b4b75cc722f0b7.tar.bz2 |
ci: Add LLVM/Clang 13.0 nightly CI jobs on Windows
Add jobs covering the `clang-cl` front-end with Ninja and NMake.
Add a job covering the `clang++` front-end with Ninja.
Diffstat (limited to '.gitlab/ci/env_windows_clang_common.cmake')
-rw-r--r-- | .gitlab/ci/env_windows_clang_common.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab/ci/env_windows_clang_common.cmake b/.gitlab/ci/env_windows_clang_common.cmake new file mode 100644 index 0000000..fdd668f --- /dev/null +++ b/.gitlab/ci/env_windows_clang_common.cmake @@ -0,0 +1,7 @@ +if("$ENV{CMAKE_CI_BUILD_NAME}" MATCHES "(^|_)gnu(_|$)") + set(ENV{CC} clang) + set(ENV{CXX} clang++) +else() + set(ENV{CC} clang-cl) + set(ENV{CXX} clang-cl) +endif() |