Experimental: add an experimental feature gate for import std

This commit is contained in:
Ben Boeckel
2024-04-10 09:12:24 -04:00
parent f80c60df02
commit 15bbd1d9b8
27 changed files with 179 additions and 0 deletions

View File

@@ -6,5 +6,10 @@ CMAKE_CXX_MODULE_STD
Whether to add utility targets as dependencies to targets with at least
``cxx_std_23`` or not.
.. note ::
This setting is meaningful only when experimental support for ``import
std;`` has been enabled by the ``CMAKE_EXPERIMENTAL_CXX_IMPORT_STD`` gate.
This variable is used to initialize the :prop_tgt:`CXX_MODULE_STD` property on
all targets. See that target property for additional information.