summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_fedora37_ninja.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-16 17:54:08 (GMT)
committerBrad King <brad.king@kitware.com>2022-11-17 13:23:52 (GMT)
commit757d9f1507353f9ce0a055927c1149930f6a0402 (patch)
treebb537c1b9aa74b7e4fc5e21dcded7551f88e9b71 /.gitlab/ci/configure_fedora37_ninja.cmake
parent919ac4c937993929a62684f7ee622f7f687f3ca9 (diff)
downloadCMake-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.cmake13
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")