summaryrefslogtreecommitdiffstats
path: root/Help/dev/experimental.rst
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-04-27 14:34:05 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-04-27 19:14:50 (GMT)
commit64c15ec018b15ac250a151a58e8d6566b071855b (patch)
tree0d83eab2bb58d3ce1b3153cc499cffa3050129c5 /Help/dev/experimental.rst
parentaaa18f15cf06ec8fd74e18875172b9215f17a088 (diff)
downloadCMake-64c15ec018b15ac250a151a58e8d6566b071855b.zip
CMake-64c15ec018b15ac250a151a58e8d6566b071855b.tar.gz
CMake-64c15ec018b15ac250a151a58e8d6566b071855b.tar.bz2
cmNinjaTargetGenerator: add flags for scanning based on the fileset type
Diffstat (limited to 'Help/dev/experimental.rst')
-rw-r--r--Help/dev/experimental.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/dev/experimental.rst b/Help/dev/experimental.rst
index 2380de4..2943c7c 100644
--- a/Help/dev/experimental.rst
+++ b/Help/dev/experimental.rst
@@ -38,6 +38,11 @@ expected to process the translation unit, write preprocessor dependencies
to the file specified by the ``<DEP_FILE>`` placeholder, and write module
dependencies to the file specified by the ``<DYNDEP_FILE>`` placeholder.
+For tools which need to know the file set the source belongs to, the
+``CMAKE_EXPERIMENTAL_CXX_MODULE_SOURCE_TYPE_FLAG_<FILE_SET_TYPE>`` flag may
+be provided so that different source types can be distinguished prior to
+scanning.
+
The module dependencies should be written in the format described
by the `P1689r4`_ paper.