summaryrefslogtreecommitdiff
path: root/Help/dev
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-04-20 12:32:16 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2022-04-27 18:39:01 -0400
commitc107760417d5941202713fbaaa3e25e62d1dd12e (patch)
treed22956f5902c88e82bb744f38aa41c3230afb0b9 /Help/dev
parent64c15ec018b15ac250a151a58e8d6566b071855b (diff)
downloadcmake-c107760417d5941202713fbaaa3e25e62d1dd12e.tar.gz
cmNinjaTargetGenerator: support msvc-style deps discovery for scanning
Diffstat (limited to 'Help/dev')
-rw-r--r--Help/dev/experimental.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/dev/experimental.rst b/Help/dev/experimental.rst
index 2943c7c063..7638d2210d 100644
--- a/Help/dev/experimental.rst
+++ b/Help/dev/experimental.rst
@@ -36,7 +36,9 @@ 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