CMAKE_CXX_MODULE_STD — CMake 3.30.5 Documentation

# CMAKE_CXX_MODULE_STD

New in version 3.30.

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 `CXX_MODULE_STD` property on all targets. See that target property for additional information.