mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 11:37:12 +01:00

Added capability for CONTROL files to specify qualified dependencies, which are substring searched inside triplet names. Fixed bug in internal 'build' command where if a package is already built, that built package's dependencies will be used to determine requirements for the build instead of the port directory's CONTROL file.
13 lines
571 B
C++
13 lines
571 B
C++
#pragma once
|
|
|
|
#include <unordered_map>
|
|
|
|
namespace vcpkg {namespace details
|
|
{
|
|
std::string optional_field(const std::unordered_map<std::string, std::string>& fields, const std::string& fieldname);
|
|
std::string remove_optional_field(std::unordered_map<std::string, std::string>* fields, const std::string& fieldname);
|
|
|
|
std::string required_field(const std::unordered_map<std::string, std::string>& fields, const std::string& fieldname);
|
|
std::string remove_required_field(std::unordered_map<std::string, std::string>* fields, const std::string& fieldname);
|
|
}}
|