aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/vcpkg_Input.h
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2016-09-30 17:09:23 -0700
committerRobert Schumacher <roschuma@microsoft.com>2016-09-30 17:09:23 -0700
commit98b4a67fe1af6974f146b518c0f1644de290d8da (patch)
tree015bea935501b3ae80c635b06da83e9591d9166c /toolsrc/include/vcpkg_Input.h
parent241ca8cd17929d53a5c10c4f366f6972d865ba4f (diff)
parent188eac680ba930c51943d4af34de58bbd325dcb1 (diff)
downloadvcpkg-98b4a67fe1af6974f146b518c0f1644de290d8da.tar.gz
vcpkg-98b4a67fe1af6974f146b518c0f1644de290d8da.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg
Diffstat (limited to 'toolsrc/include/vcpkg_Input.h')
-rw-r--r--toolsrc/include/vcpkg_Input.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Input.h b/toolsrc/include/vcpkg_Input.h
new file mode 100644
index 000000000..bbf3adfbf
--- /dev/null
+++ b/toolsrc/include/vcpkg_Input.h
@@ -0,0 +1,15 @@
+#pragma once
+#include <vector>
+#include "package_spec.h"
+#include "vcpkg_paths.h"
+
+namespace vcpkg {namespace Input
+{
+ package_spec check_and_get_package_spec(const std::string& package_spec_as_string, const triplet& default_target_triplet, const char* example_text);
+
+ std::vector<package_spec> check_and_get_package_specs(const std::vector<std::string>& package_specs_as_strings, const triplet& default_target_triplet, const char* example_text);
+
+ void check_triplet(const triplet& t, const vcpkg_paths& paths);
+
+ void check_triplets(std::vector<package_spec> triplets, const vcpkg_paths& paths);
+}}