summaryrefslogtreecommitdiff
path: root/Source/cmScanDepFormat.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmScanDepFormat.h')
-rw-r--r--Source/cmScanDepFormat.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/Source/cmScanDepFormat.h b/Source/cmScanDepFormat.h
index 1ad0ecf73..dae28d950 100644
--- a/Source/cmScanDepFormat.h
+++ b/Source/cmScanDepFormat.h
@@ -5,26 +5,33 @@
#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 cmSourceInfo
+struct cmScanDepInfo
{
std::string PrimaryOutput;
+ std::vector<std::string> ExtraOutputs;
// 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);