summaryrefslogtreecommitdiffstats
path: root/Source/cmScanDepFormat.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-07-18 16:05:58 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-07-26 16:25:42 (GMT)
commitd7f5064ff79380d03e11c7fed01b6e225ea78337 (patch)
tree4e4ed40a60a7dbd340052042bd231c8c970b2a6b /Source/cmScanDepFormat.h
parentb5a6648c4b4973c4747aa6a325938ca1e7d977d0 (diff)
downloadCMake-d7f5064ff79380d03e11c7fed01b6e225ea78337.zip
CMake-d7f5064ff79380d03e11c7fed01b6e225ea78337.tar.gz
CMake-d7f5064ff79380d03e11c7fed01b6e225ea78337.tar.bz2
cmScanDepFormat: support P1689R5
This adds the `is-interface` key on provides fields.
Diffstat (limited to 'Source/cmScanDepFormat.h')
-rw-r--r--Source/cmScanDepFormat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmScanDepFormat.h b/Source/cmScanDepFormat.h
index dae28d9..dc55bf1 100644
--- a/Source/cmScanDepFormat.h
+++ b/Source/cmScanDepFormat.h
@@ -18,6 +18,11 @@ struct cmSourceReqInfo
std::string SourcePath;
std::string CompiledModulePath;
bool UseSourcePath = false;
+
+ // Provides-only fields.
+ bool IsInterface = true;
+
+ // Requires-only fields.
LookupMethod Method = LookupMethod::ByName;
};