summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-09-21 13:40:15 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-09-21 13:44:48 (GMT)
commitc2564f5916d8c27d2df4ab36b42b121ce94b78cd (patch)
tree70dcbefeb177529857d560decefccc22ddeb56f2 /.gitlab/ci
parentee52a02d56371728499d7bfe2e96777e125caa61 (diff)
downloadCMake-c2564f5916d8c27d2df4ab36b42b121ce94b78cd.zip
CMake-c2564f5916d8c27d2df4ab36b42b121ce94b78cd.tar.gz
CMake-c2564f5916d8c27d2df4ab36b42b121ce94b78cd.tar.bz2
ci: drop extra scandep source settings for GCC
Diffstat (limited to '.gitlab/ci')
-rw-r--r--.gitlab/ci/cxx_modules_rules_gcc.cmake19
1 files changed, 0 insertions, 19 deletions
diff --git a/.gitlab/ci/cxx_modules_rules_gcc.cmake b/.gitlab/ci/cxx_modules_rules_gcc.cmake
index 020cb1f..2b09b0e 100644
--- a/.gitlab/ci/cxx_modules_rules_gcc.cmake
+++ b/.gitlab/ci/cxx_modules_rules_gcc.cmake
@@ -1,20 +1 @@
set(CMake_TEST_CXXModules_UUID "a246741c-d067-4019-a8fb-3d16b0c9d1d3")
-
-string(CONCAT CMAKE_EXPERIMENTAL_CXX_SCANDEP_SOURCE
- "<CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS> -E -x c++ <SOURCE>"
- " -MT <DYNDEP_FILE> -MD -MF <DEP_FILE>"
- " -fmodules-ts -fdeps-file=<DYNDEP_FILE> -fdeps-target=<OBJECT> -fdeps-format=p1689r5"
- " -o <PREPROCESSED_SOURCE>")
-set(CMAKE_EXPERIMENTAL_CXX_MODULE_MAP_FORMAT "gcc")
-string(CONCAT CMAKE_EXPERIMENTAL_CXX_MODULE_MAP_FLAG
- # Turn on modules.
- "-fmodules-ts"
- # Read the module mapper file.
- " -fmodule-mapper=<MODULE_MAP_FILE>"
- # Make sure dependency tracking is enabled (missing from `try_*`).
- " -MD"
- # Suppress `CXX_MODULES +=` from generated depfile snippets.
- " -fdeps-format=p1689r5"
- # Force C++ as a language.
- " -x c++")
-set(CMAKE_EXPERIMENTAL_CXX_MODULE_BMI_ONLY_FLAG "-fmodule-only")