diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-21 18:36:47 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-08-17 18:42:54 (GMT) |
commit | 80ef50a1919d62acb82a6423c40042a94edeac60 (patch) | |
tree | 442684aaaf9c20f1deb0f123359c23d6c18d19fe /.gitlab | |
parent | 80d65443982ca1b2c98c84ae86e2bfccdbdd7678 (diff) | |
download | CMake-80ef50a1919d62acb82a6423c40042a94edeac60.zip CMake-80ef50a1919d62acb82a6423c40042a94edeac60.tar.gz CMake-80ef50a1919d62acb82a6423c40042a94edeac60.tar.bz2 |
CXXModules: add a variable for BMI-only compilation
This will be required when dealing with imported targets which contain
modules.
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/cxx_modules_rules_gcc.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab/ci/cxx_modules_rules_gcc.cmake b/.gitlab/ci/cxx_modules_rules_gcc.cmake index 3726f6d..020cb1f 100644 --- a/.gitlab/ci/cxx_modules_rules_gcc.cmake +++ b/.gitlab/ci/cxx_modules_rules_gcc.cmake @@ -17,3 +17,4 @@ string(CONCAT CMAKE_EXPERIMENTAL_CXX_MODULE_MAP_FLAG " -fdeps-format=p1689r5" # Force C++ as a language. " -x c++") +set(CMAKE_EXPERIMENTAL_CXX_MODULE_BMI_ONLY_FLAG "-fmodule-only") |