From bc1ba6d56b1297cc4677e527bfbe85f3502eb13e Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 1 Feb 2023 13:23:56 -0500 Subject: 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). --- Help/prop_sf/CXX_SCAN_FOR_MODULES.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Help/prop_sf') diff --git a/Help/prop_sf/CXX_SCAN_FOR_MODULES.rst b/Help/prop_sf/CXX_SCAN_FOR_MODULES.rst index 9d6c0a57af..23c48597d3 100644 --- a/Help/prop_sf/CXX_SCAN_FOR_MODULES.rst +++ b/Help/prop_sf/CXX_SCAN_FOR_MODULES.rst @@ -17,3 +17,8 @@ Note that scanning is only performed if C++20 or higher is enabled for the target and the source uses the ``CXX`` language. Scanning for modules in 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. -- cgit v1.2.1