diff options
author | Brad King <brad.king@kitware.com> | 2021-10-26 19:22:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-29 15:52:58 (GMT) |
commit | ec8d37b3b1ca10535e219b37cf4889d59b1dfedb (patch) | |
tree | 34b6c70c6de5805b9d0ae51d3966e7d1195799f1 /Source/cmVSSetupHelper.h | |
parent | 8e6d930e8c3fb951e3c4388cc6a9a96dedcb412b (diff) | |
download | CMake-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.h | 4 |
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; }; |