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 /Source/cmScanDepFormat.h | |
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 'Source/cmScanDepFormat.h')
-rw-r--r-- | Source/cmScanDepFormat.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmScanDepFormat.h b/Source/cmScanDepFormat.h index 1ad0ecf..51ceec1 100644 --- a/Source/cmScanDepFormat.h +++ b/Source/cmScanDepFormat.h @@ -11,20 +11,16 @@ struct cmSourceReqInfo std::string CompiledModulePath; }; -struct cmSourceInfo +struct cmScanDepInfo { std::string PrimaryOutput; // Set of provided and required modules. std::vector<cmSourceReqInfo> Provides; std::vector<cmSourceReqInfo> Requires; - - // Set of files included in the translation unit. - std::vector<std::string> Includes; }; bool cmScanDepFormat_P1689_Parse(std::string const& arg_pp, - cmSourceInfo* info); + cmScanDepInfo* info); bool cmScanDepFormat_P1689_Write(std::string const& path, - std::string const& input, - cmSourceInfo const& info); + cmScanDepInfo const& info); |