Robert Schumacher 8db6db5dac
[vcpkg] Further parser improvements (#9895)
* [vcpkg] Consolidate several internal parsers together (packagespecs + logicexpression + control) and enhance error messages

* [vcpkg] Migrate Build-Depends parsing to new framework

* [vcpkg] Fix tests. Re-enable underscores in feature names due to libwebp[vwebp_sdl] -- todo: rename this feature and remove underscores.
2020-02-07 11:24:35 -08:00

16 lines
577 B
C++

#pragma once
#include <vcpkg/packagespec.h>
namespace vcpkg::Input
{
PackageSpec check_and_get_package_spec(std::string&& spec_string,
Triplet default_triplet,
CStringView example_text);
FullPackageSpec check_and_get_full_package_spec(std::string&& spec_string,
Triplet default_triplet,
CStringView example_text);
void check_triplet(Triplet t, const VcpkgPaths& paths);
}