summaryrefslogtreecommitdiffstats
path: root/Help/dev
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-03 15:20:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-05-03 15:20:26 (GMT)
commit386496a5442851b7ed5fae2f5c94e4eb04c35ea2 (patch)
tree4bcc0270ecea92745d7b06cf31c8d4436a9878b9 /Help/dev
parentef10e61b6b7d3bb264cdbf72e143dbef7be8c736 (diff)
parentc5b56b35c264664e897a2895e2561a5fb8287703 (diff)
downloadCMake-386496a5442851b7ed5fae2f5c94e4eb04c35ea2.zip
CMake-386496a5442851b7ed5fae2f5c94e4eb04c35ea2.tar.gz
CMake-386496a5442851b7ed5fae2f5c94e4eb04c35ea2.tar.bz2
Merge topic 'cpp-modules-prep'
c5b56b35c2 cmInstallExportGenerator: expose the temporary directory c107760417 cmNinjaTargetGenerator: support msvc-style deps discovery for scanning 64c15ec018 cmNinjaTargetGenerator: add flags for scanning based on the fileset type aaa18f15cf cmTarget: add support for querying all file set names cc4e19710d cmGlobalNinjaGenerator: use an extention based on the modmapfmt 97a68198c9 cmGlobalNinjaGenerator: escape `:` in module names 499009b79c cmTarget: avoid creating export entries if they don't exist 0513a1fe10 cmInstallGenerator: use CMake-private variables in generated code ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7214
Diffstat (limited to 'Help/dev')
-rw-r--r--Help/dev/experimental.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/Help/dev/experimental.rst b/Help/dev/experimental.rst
index 2380de4..7638d22 100644
--- a/Help/dev/experimental.rst
+++ b/Help/dev/experimental.rst
@@ -36,7 +36,14 @@ For example, add code like the following to a test project:
The tool specified by ``CMAKE_EXPERIMENTAL_CXX_SCANDEP_SOURCE`` is
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.
+dependencies to the file specified by the ``<DYNDEP_FILE>`` placeholder. The
+``CMAKE_EXPERIMENTAL_CXX_SCANDEP_DEPFILE_FORMAT`` file may be set to ``msvc``
+for scandep rules which use ``msvc``-style dependency reporting.
+
+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.