Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Help / prop_tgt / INTERFACE_CXX_MODULE_SETS.rst
1 INTERFACE_CXX_MODULE_SETS
2 -------------------------
3
4 .. versionadded:: 3.25
5
6 .. note ::
7
8   Experimental. Gated by ``CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API``
9
10 Read-only list of the target's ``PUBLIC`` C++ module sets (i.e. all file sets
11 with the type ``CXX_MODULES``). Files listed in these C++ module sets can be
12 installed with :command:`install(TARGETS)` and exported with
13 :command:`install(EXPORT)` and :command:`export`.
14
15 C++ module sets may be defined using the :command:`target_sources` command
16 ``FILE_SET`` option with type ``CXX_MODULES``.
17
18 See also :prop_tgt:`CXX_MODULE_SETS`.