diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2024-02-16 12:10:24 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2024-02-16 15:28:10 (GMT) |
commit | e48e5e5506e9d55e3ea634c9cbe9051a35046b2a (patch) | |
tree | 313ebedad4e9ea882f0c8ac44fafe3e96aa0acb9 | |
parent | fb0988a276438f68f0d4d6b17a1ed381a050d6d0 (diff) | |
download | CMake-e48e5e5506e9d55e3ea634c9cbe9051a35046b2a.zip CMake-e48e5e5506e9d55e3ea634c9cbe9051a35046b2a.tar.gz CMake-e48e5e5506e9d55e3ea634c9cbe9051a35046b2a.tar.bz2 |
Tests/CXXModules: document `CMake_TEST_MODULE_COMPILATION` items
-rw-r--r-- | Tests/RunCMake/CXXModules/RunCMakeTest.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake index 421c509..533a99a 100644 --- a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake +++ b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake @@ -168,6 +168,18 @@ function (run_cxx_module_test_rebuild directory) run_cxx_module_test("${directory}" ${ARGN}) endfunction () +# Module compilation features: +# Compiler-based: +# - `named`: basic support for named modules is available +# - `shared`: shared libraries are supported +# - `partitions`: module partitions are supported +# - `internal_partitions`: internal module partitions are supported +# - `bmionly`: the compiler supports BMI-only builds +# +# Generator-based: +# - `compile_commands`: the generator supports `compile_commands.json` +# - `collation`: the generator supports module collation features +# - `export_bmi`: the generator supports exporting BMIs string(REPLACE "," ";" CMake_TEST_MODULE_COMPILATION "${CMake_TEST_MODULE_COMPILATION}") if (RunCMake_GENERATOR MATCHES "Ninja") |