2016-10-01 07:49:30 +08:00
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "package_spec.h"
|
2016-10-01 07:54:07 +08:00
|
|
|
#include "vcpkg_paths.h"
|
2016-10-01 07:49:30 +08:00
|
|
|
|
2017-01-06 06:14:11 +08:00
|
|
|
namespace vcpkg::Input
|
2016-10-01 07:49:30 +08:00
|
|
|
{
|
2016-12-13 07:05:49 +08:00
|
|
|
package_spec check_and_get_package_spec(const std::string& package_spec_as_string, const triplet& default_target_triplet, const std::string& example_text);
|
2016-10-01 07:49:30 +08:00
|
|
|
|
2016-12-13 07:05:49 +08:00
|
|
|
std::vector<package_spec> check_and_get_package_specs(const std::vector<std::string>& package_specs_as_strings, const triplet& default_target_triplet, const std::string& example_text);
|
2016-10-01 07:54:07 +08:00
|
|
|
|
|
|
|
void check_triplet(const triplet& t, const vcpkg_paths& paths);
|
2016-10-01 07:55:34 +08:00
|
|
|
|
2017-01-06 06:21:09 +08:00
|
|
|
void check_triplets(const std::vector<package_spec>& triplets, const vcpkg_paths& paths);
|
2017-01-06 06:14:11 +08:00
|
|
|
}
|