Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Help / prop_tgt / CXX_MODULE_HEADER_UNIT_SETS.rst
1 CXX_MODULE_HEADER_UNIT_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 ``PRIVATE`` and ``PUBLIC`` C++ module header
11 sets (i.e. all file sets with the type ``CXX_MODULE_HEADER_UNITS``). Files
12 listed in these file sets are treated as source files for the purpose of IDE
13 integration.
14
15 C++ module header sets may be defined using the :command:`target_sources`
16 command ``FILE_SET`` option with type ``CXX_MODULE_HEADER_UNITS``.
17
18 See also :prop_tgt:`CXX_MODULE_HEADER_UNIT_SET_<NAME>`,
19 :prop_tgt:`CXX_MODULE_HEADER_UNIT_SET` and
20 :prop_tgt:`INTERFACE_CXX_MODULE_HEADER_UNIT_SETS`.