summaryrefslogtreecommitdiffstats
path: root/Source/cmVSSetupHelper.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-26 19:22:41 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-29 15:52:58 (GMT)
commitec8d37b3b1ca10535e219b37cf4889d59b1dfedb (patch)
tree34b6c70c6de5805b9d0ae51d3966e7d1195799f1 /Source/cmVSSetupHelper.h
parent8e6d930e8c3fb951e3c4388cc6a9a96dedcb412b (diff)
downloadCMake-ec8d37b3b1ca10535e219b37cf4889d59b1dfedb.zip
CMake-ec8d37b3b1ca10535e219b37cf4889d59b1dfedb.tar.gz
CMake-ec8d37b3b1ca10535e219b37cf4889d59b1dfedb.tar.bz2
VS: Support version specification in CMAKE_GENERATOR_INSTANCE
Diffstat (limited to 'Source/cmVSSetupHelper.h')
-rw-r--r--Source/cmVSSetupHelper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmVSSetupHelper.h b/Source/cmVSSetupHelper.h
index ad242a5..d7e82d0 100644
--- a/Source/cmVSSetupHelper.h
+++ b/Source/cmVSSetupHelper.h
@@ -99,7 +99,8 @@ public:
cmVSSetupAPIHelper(unsigned int version);
~cmVSSetupAPIHelper();
- bool SetVSInstance(std::string const& vsInstallLocation);
+ bool SetVSInstance(std::string const& vsInstallLocation,
+ std::string const& vsInstallVersion);
bool IsVSInstalled();
bool GetVSInstanceInfo(std::string& vsInstallLocation);
@@ -132,4 +133,5 @@ private:
bool IsEWDKEnabled();
std::string SpecifiedVSInstallLocation;
+ std::string SpecifiedVSInstallVersion;
};