diff options
author | Brad King <brad.king@kitware.com> | 2022-11-16 17:54:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-17 13:23:52 (GMT) |
commit | 757d9f1507353f9ce0a055927c1149930f6a0402 (patch) | |
tree | bb537c1b9aa74b7e4fc5e21dcded7551f88e9b71 /.gitlab/ci/configure_fedora37_ninja.cmake | |
parent | 919ac4c937993929a62684f7ee622f7f687f3ca9 (diff) | |
download | CMake-757d9f1507353f9ce0a055927c1149930f6a0402.zip CMake-757d9f1507353f9ce0a055927c1149930f6a0402.tar.gz CMake-757d9f1507353f9ce0a055927c1149930f6a0402.tar.bz2 |
gitlab-ci: use Fedora 37 images and environments
Diffstat (limited to '.gitlab/ci/configure_fedora37_ninja.cmake')
-rw-r--r-- | .gitlab/ci/configure_fedora37_ninja.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_fedora37_ninja.cmake b/.gitlab/ci/configure_fedora37_ninja.cmake new file mode 100644 index 0000000..3defa5a --- /dev/null +++ b/.gitlab/ci/configure_fedora37_ninja.cmake @@ -0,0 +1,13 @@ +set(CMake_TEST_GUI "ON" CACHE BOOL "") +if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") + set(CMake_TEST_ISPC "ON" CACHE STRING "") +endif() + +# "Release" flags without "-DNDEBUG" so we get assertions. +set(CMAKE_C_FLAGS_RELEASE "-O3" CACHE STRING "") +set(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE STRING "") + +# Cover compilation with C++11 only and not higher standards. +set(CMAKE_CXX_STANDARD "11" CACHE STRING "") + +include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora37_common.cmake") |