vcpkg/toolsrc/include/BinaryParagraph.h

30 lines
708 B
C
Raw Normal View History

2016-09-18 20:50:08 -07:00
#pragma once
#include <unordered_map>
#include "SourceParagraph.h"
2017-04-03 14:45:00 -07:00
#include "PackageSpec.h"
2016-09-18 20:50:08 -07:00
namespace vcpkg
{
struct BinaryParagraph
{
BinaryParagraph();
explicit BinaryParagraph(std::unordered_map<std::string, std::string> fields);
2017-04-03 15:02:45 -07:00
BinaryParagraph(const SourceParagraph& spgh, const Triplet& target_triplet);
2016-09-18 20:50:08 -07:00
std::string displayname() const;
std::string fullstem() const;
std::string dir() const;
2017-04-03 14:45:00 -07:00
PackageSpec spec;
2016-09-18 20:50:08 -07:00
std::string version;
std::string description;
std::string maintainer;
std::vector<std::string> depends;
};
std::ostream& operator<<(std::ostream& os, const BinaryParagraph& pgh);
}