mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
Merge topic 'cpp-modules-prep'
c5b56b35c2cmInstallExportGenerator: expose the temporary directoryc107760417cmNinjaTargetGenerator: support msvc-style deps discovery for scanning64c15ec018cmNinjaTargetGenerator: add flags for scanning based on the fileset typeaaa18f15cfcmTarget: add support for querying all file set namescc4e19710dcmGlobalNinjaGenerator: use an extention based on the modmapfmt97a68198c9cmGlobalNinjaGenerator: escape `:` in module names499009b79ccmTarget: avoid creating export entries if they don't exist0513a1fe10cmInstallGenerator: use CMake-private variables in generated code ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7214
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user