vcpkg/toolsrc/include/BinaryParagraph.h

31 lines
738 B
C
Raw Normal View History

2016-09-19 11:50:08 +08:00
#pragma once
#include <unordered_map>
#include "SourceParagraph.h"
#include "triplet.h"
#include "package_spec.h"
2016-09-19 11:50:08 +08:00
namespace vcpkg
{
struct BinaryParagraph
{
BinaryParagraph();
explicit BinaryParagraph(const std::unordered_map<std::string, std::string>& fields);
BinaryParagraph(const SourceParagraph& spgh, const triplet& target_triplet);
std::string displayname() const;
std::string fullstem() const;
std::string dir() const;
package_spec spec;
2016-09-19 11:50:08 +08:00
std::string version;
std::string description;
std::string maintainer;
std::vector<std::string> depends;
};
std::ostream& operator<<(std::ostream& os, const BinaryParagraph& pgh);
}