summaryrefslogtreecommitdiffstats
path: root/Source/cmVSSetupHelper.h
diff options
context:
space:
mode:
authorNiyas Sait <niyas.sait@linaro.org>2022-04-11 15:30:51 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-13 12:40:46 (GMT)
commitf85913fa088f03532ac791735c24d25937b93c7b (patch)
treee8eddac69dc2d3159ab6fd90ae1121cea43048b1 /Source/cmVSSetupHelper.h
parent069cff63f62b76fedec9064240b4aa53f1d5c71f (diff)
downloadCMake-f85913fa088f03532ac791735c24d25937b93c7b.zip
CMake-f85913fa088f03532ac791735c24d25937b93c7b.tar.gz
CMake-f85913fa088f03532ac791735c24d25937b93c7b.tar.bz2
VS: Add support for enumerating VS instances with vswhere
Diffstat (limited to 'Source/cmVSSetupHelper.h')
-rw-r--r--Source/cmVSSetupHelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVSSetupHelper.h b/Source/cmVSSetupHelper.h
index e7a276e..a16f00b 100644
--- a/Source/cmVSSetupHelper.h
+++ b/Source/cmVSSetupHelper.h
@@ -118,6 +118,8 @@ private:
int ChooseVSInstance(const std::vector<VSInstanceInfo>& vecVSInstances);
bool EnumerateAndChooseVSInstance();
bool LoadSpecifiedVSInstanceFromDisk();
+ bool EnumerateVSInstancesWithVswhere(
+ std::vector<VSInstanceInfo>& VSInstances);
bool EnumerateVSInstancesWithCOM(std::vector<VSInstanceInfo>& VSInstances);
unsigned int Version;