#pragma once #include #include "SourceParagraph.h" #include "PackageSpec.h" namespace vcpkg { struct BinaryParagraph { BinaryParagraph(); explicit BinaryParagraph(std::unordered_map fields); BinaryParagraph(const SourceParagraph& spgh, const Triplet& triplet); std::string displayname() const; std::string fullstem() const; std::string dir() const; PackageSpec spec; std::string version; std::string description; std::string maintainer; std::vector depends; }; void serialize(const BinaryParagraph& pgh, std::string& out_str); }