diff options
| author | Brad King <brad.king@kitware.com> | 2023-02-01 13:23:56 -0500 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2023-02-01 13:58:23 -0500 |
| commit | bc1ba6d56b1297cc4677e527bfbe85f3502eb13e (patch) | |
| tree | 77b287eeff9036b85d5c052e10f8c59fecc99bcf /Help/prop_tgt | |
| parent | 71f9c1943d63805cf3a87fcb832a7c664e8d1a47 (diff) | |
| download | cmake-bc1ba6d56b1297cc4677e527bfbe85f3502eb13e.tar.gz | |
Help: Document experimental feature gate affecting CXX_SCAN_FOR_MODULES
Also drop the release note for `CXX_SCAN_FOR_MODULES`, as the rest of
the C++ modules support has not yet been mentioned in release notes
(since it is still experimental).
Diffstat (limited to 'Help/prop_tgt')
| -rw-r--r-- | Help/prop_tgt/CXX_SCAN_FOR_MODULES.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/prop_tgt/CXX_SCAN_FOR_MODULES.rst b/Help/prop_tgt/CXX_SCAN_FOR_MODULES.rst index 5e89ba2996..e2127c2843 100644 --- a/Help/prop_tgt/CXX_SCAN_FOR_MODULES.rst +++ b/Help/prop_tgt/CXX_SCAN_FOR_MODULES.rst @@ -20,3 +20,8 @@ scan the target's ``CXX`` sources at build time. Note that scanning is only performed if C++20 or higher is enabled for the target. Scanning for modules in the target's sources belonging to file sets of type ``CXX_MODULES`` and ``CXX_MODULES_HEADER_UNITS`` is always performed. + +.. note :: + + This setting is meaningful only when experimental support for C++ modules + has been enabled by the ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API`` gate. |
