2016-09-19 11:50:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <unordered_map>
|
|
|
|
|
|
|
|
namespace vcpkg {namespace details
|
|
|
|
{
|
2016-09-27 12:12:04 +08:00
|
|
|
std::string optional_field(const std::unordered_map<std::string, std::string>& fields, const std::string& fieldname);
|
2016-09-19 11:50:08 +08:00
|
|
|
|
2016-09-27 12:12:04 +08:00
|
|
|
std::string required_field(const std::unordered_map<std::string, std::string>& fields, const std::string& fieldname);
|
2016-09-19 11:50:08 +08:00
|
|
|
|
2016-09-27 12:12:04 +08:00
|
|
|
std::vector<std::string> parse_depends(const std::string& depends_string);
|
2016-09-19 11:50:08 +08:00
|
|
|
}}
|