diff options
author | Brad King <brad.king@kitware.com> | 2021-05-11 12:24:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-13 12:33:00 (GMT) |
commit | bd12b97d05314500892426e827dc0ad57c4f4fdc (patch) | |
tree | 3f15f513cecd934c979e0d66169aa58c3874eab4 /Help | |
parent | 96011ab06d8839010c181d501c58c8e914f3ba91 (diff) | |
download | CMake-bd12b97d05314500892426e827dc0ad57c4f4fdc.zip CMake-bd12b97d05314500892426e827dc0ad57c4f4fdc.tar.gz CMake-bd12b97d05314500892426e827dc0ad57c4f4fdc.tar.bz2 |
cmScanDepFormat: Drop unused "outputs", "inputs", and "depends" fields
These fields are specified by our `P1689r3` paper, but are not actually
needed. The dependencies of the scanning results themselves can be
captured via normal depfile logic. Avoid saving this possibly-large
information in the scanning results. It is not needed by later steps.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/dev/experimental.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Help/dev/experimental.rst b/Help/dev/experimental.rst index d019161..3db8177 100644 --- a/Help/dev/experimental.rst +++ b/Help/dev/experimental.rst @@ -39,7 +39,10 @@ to the file specified by the ``<DEP_FILE>`` placeholder, and write module dependencies to the file specified by the ``<DYNDEP_FILE>`` placeholder. The module dependencies should be written in the format described -by the `P1689r3`_ paper. +by the `P1689r3`_ paper, with the following updates: + +* Omit the ``outputs``, ``inputs``, and ``depends`` fields from + each entry in the ``rules`` array. They are unused. Compiler writers may try out their scanning functionality using the `cxx-modules-sandbox`_ test project, modified to set variables |