summaryrefslogtreecommitdiffstats
path: root/Source/cmScanDepFormat.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-06-08 15:27:39 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-10 11:55:20 (GMT)
commitccc0466fc56dc90de043f0d55781bf9b0ff1365a (patch)
treec6be8f8cab40e4bfdb86dae5ec585f5f50e296ef /Source/cmScanDepFormat.h
parent3e5b609547750f0498b6ca924fb70379457653da (diff)
downloadCMake-ccc0466fc56dc90de043f0d55781bf9b0ff1365a.zip
CMake-ccc0466fc56dc90de043f0d55781bf9b0ff1365a.tar.gz
CMake-ccc0466fc56dc90de043f0d55781bf9b0ff1365a.tar.bz2
cmScanDepFormat: P1689R4: Implement source-path related fields
Diffstat (limited to 'Source/cmScanDepFormat.h')
-rw-r--r--Source/cmScanDepFormat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmScanDepFormat.h b/Source/cmScanDepFormat.h
index cb8921d..dae28d9 100644
--- a/Source/cmScanDepFormat.h
+++ b/Source/cmScanDepFormat.h
@@ -5,10 +5,20 @@
#include <string>
#include <vector>
+enum class LookupMethod
+{
+ ByName,
+ IncludeAngle,
+ IncludeQuote,
+};
+
struct cmSourceReqInfo
{
std::string LogicalName;
+ std::string SourcePath;
std::string CompiledModulePath;
+ bool UseSourcePath = false;
+ LookupMethod Method = LookupMethod::ByName;
};
struct cmScanDepInfo