diff options
| author | Curtis.Bezault <curtbezault@gmail.com> | 2019-07-17 14:27:18 -0700 |
|---|---|---|
| committer | Curtis.Bezault <curtbezault@gmail.com> | 2019-07-17 14:27:18 -0700 |
| commit | 58958eb0ea47c6c423fe78f2cd6fd1e31cbcb082 (patch) | |
| tree | 12d4a50f99b3c7446018328bb01510b23c230bdb /toolsrc/include | |
| parent | f0f615532f9aa03f1518f03009cff5c716e9b1fd (diff) | |
| download | vcpkg-58958eb0ea47c6c423fe78f2cd6fd1e31cbcb082.tar.gz vcpkg-58958eb0ea47c6c423fe78f2cd6fd1e31cbcb082.zip | |
sourceparagraph changes
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/sourceparagraph.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/sourceparagraph.h b/toolsrc/include/vcpkg/sourceparagraph.h index 9fbd83475..9a1c2c843 100644 --- a/toolsrc/include/vcpkg/sourceparagraph.h +++ b/toolsrc/include/vcpkg/sourceparagraph.h @@ -46,6 +46,12 @@ namespace vcpkg /// </summary> struct SourceParagraph { + enum TYPE : unsigned + { + PORT = 0, + SYS_TOOL, + }; + std::string name; std::string version; std::string description; @@ -54,6 +60,10 @@ namespace vcpkg std::vector<std::string> supports; std::vector<Dependency> depends; std::vector<std::string> default_features; + TYPE type; + + static TYPE type_from_string(const std::string& in); + static std::string string_from_type(const TYPE& in); }; /// <summary> |
