#pragma once #include #include namespace vcpkg { struct Triplet; struct Dependency { std::string name; std::string qualifier; }; const std::string& to_string(const Dependency& dep); /// /// Port metadata (CONTROL file) /// struct SourceParagraph { SourceParagraph(); explicit SourceParagraph(std::unordered_map fields); std::string name; std::string version; std::string description; std::string maintainer; std::vector depends; }; std::vector filter_dependencies(const std::vector& deps, const Triplet& t); std::vector expand_qualified_dependencies(const std::vector& depends); std::vector parse_depends(const std::string& depends_string); }