diff options
author | Brad King <brad.king@kitware.com> | 2017-09-25 18:37:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-19 14:20:12 (GMT) |
commit | 17edfa41983c61574e897eda923c90fd33ba8ac3 (patch) | |
tree | 5480153647dca36b341edd6120cfb18b9dfe5ef3 /Source/cmVSSetupHelper.h | |
parent | a19b811363422213fd0ac2d089f7585d9be73a42 (diff) | |
download | CMake-17edfa41983c61574e897eda923c90fd33ba8ac3.zip CMake-17edfa41983c61574e897eda923c90fd33ba8ac3.tar.gz CMake-17edfa41983c61574e897eda923c90fd33ba8ac3.tar.bz2 |
cmVSSetupHelper: Add option to specify an instance
Diffstat (limited to 'Source/cmVSSetupHelper.h')
-rw-r--r-- | Source/cmVSSetupHelper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmVSSetupHelper.h b/Source/cmVSSetupHelper.h index 74a7ec0..c07cfaf 100644 --- a/Source/cmVSSetupHelper.h +++ b/Source/cmVSSetupHelper.h @@ -126,6 +126,8 @@ public: cmVSSetupAPIHelper(); ~cmVSSetupAPIHelper(); + bool SetVSInstance(std::string const& vsInstallLocation); + bool IsVS2017Installed(); bool GetVSInstanceInfo(std::string& vsInstallLocation); bool IsWin10SDKInstalled(); @@ -150,6 +152,8 @@ private: HRESULT comInitialized; // current best instance of VS selected VSInstanceInfo chosenInstanceInfo; + + std::string SpecifiedVSInstallLocation; }; #endif |