diff options
author | Brad King <brad.king@kitware.com> | 2023-03-03 17:26:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-03 17:44:53 (GMT) |
commit | 3fe8e33f278312c7840672ebae4b1e99c69e59bf (patch) | |
tree | 2c3801ee7aab044bdcbce8720d7ed713844e176b /.gitlab/ci/cxx_modules_rules_clang.cmake | |
parent | a8b1fb7976741e6fbdb7d1e5bb241cf738e8433b (diff) | |
download | CMake-3fe8e33f278312c7840672ebae4b1e99c69e59bf.zip CMake-3fe8e33f278312c7840672ebae4b1e99c69e59bf.tar.gz CMake-3fe8e33f278312c7840672ebae4b1e99c69e59bf.tar.bz2 |
Clang: Record Clang 16.0 flags for our experimental C++ modules support
LLVM/Clang 16.0 now contains official support for what CMake needs.
Diffstat (limited to '.gitlab/ci/cxx_modules_rules_clang.cmake')
-rw-r--r-- | .gitlab/ci/cxx_modules_rules_clang.cmake | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/.gitlab/ci/cxx_modules_rules_clang.cmake b/.gitlab/ci/cxx_modules_rules_clang.cmake index fcb2281..8088330 100644 --- a/.gitlab/ci/cxx_modules_rules_clang.cmake +++ b/.gitlab/ci/cxx_modules_rules_clang.cmake @@ -1,17 +1,6 @@ set(CMake_TEST_CXXModules_UUID "a246741c-d067-4019-a8fb-3d16b0c9d1d3") set(CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP 1) -string(CONCAT CMAKE_EXPERIMENTAL_CXX_SCANDEP_SOURCE - "${CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS}" - " -format=p1689" - " --" - " <CMAKE_CXX_COMPILER> <DEFINES> <INCLUDES> <FLAGS>" - " -x c++ <SOURCE> -c -o <OBJECT>" - " -MT <DYNDEP_FILE>" - " -MD -MF <DEP_FILE>" - " > <DYNDEP_FILE>") -set(CMAKE_EXPERIMENTAL_CXX_MODULE_MAP_FORMAT "clang") -set(CMAKE_EXPERIMENTAL_CXX_MODULE_MAP_FLAG "@<MODULE_MAP_FILE>") # Default to C++ extensions being off. Clang's modules support have trouble # with extensions right now. |