aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-09-18 20:55:35 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-09-18 20:55:35 -0700
commit1f79c92eb099de356a5cb1e42234bb227e09d543 (patch)
treea48409dd587b92bae74132ff884f0bdeae1ef679 /toolsrc/include
parentf89341566c90aaed6725659b9af90a5ad74c75c3 (diff)
downloadvcpkg-1f79c92eb099de356a5cb1e42234bb227e09d543.tar.gz
vcpkg-1f79c92eb099de356a5cb1e42234bb227e09d543.zip
Add command x-vsinstances
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/commands.h6
-rw-r--r--toolsrc/include/vcpkg/visualstudio.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/commands.h b/toolsrc/include/vcpkg/commands.h
index 1858a320f..fd7d832b3 100644
--- a/toolsrc/include/vcpkg/commands.h
+++ b/toolsrc/include/vcpkg/commands.h
@@ -119,6 +119,12 @@ namespace vcpkg::Commands
void perform_and_exit(const VcpkgCmdArguments& args);
}
+ namespace X_VSInstances
+ {
+ extern const CommandStructure COMMAND_STRUCTURE;
+ void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);
+ }
+
namespace Hash
{
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths);
diff --git a/toolsrc/include/vcpkg/visualstudio.h b/toolsrc/include/vcpkg/visualstudio.h
index b93b145d9..cd99db352 100644
--- a/toolsrc/include/vcpkg/visualstudio.h
+++ b/toolsrc/include/vcpkg/visualstudio.h
@@ -6,6 +6,8 @@
namespace vcpkg::VisualStudio
{
+ std::vector<std::string> get_visual_studio_instances(const VcpkgPaths& paths);
+
std::vector<Toolset> find_toolset_instances_preferred_first(const VcpkgPaths& paths);
}