diff options
author | Basil Fierz <basil.fierz@hotmail.com> | 2018-06-20 20:34:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-22 14:07:09 (GMT) |
commit | b759f7068f4e263917ab029f9e9a518dfd386ddb (patch) | |
tree | 93b55090a09b54786a8c03eb8adfd527d1c0d583 /Source/cmVSSetupHelper.h | |
parent | d548994afcfccbff17fcba5698ed10f083142059 (diff) | |
download | CMake-b759f7068f4e263917ab029f9e9a518dfd386ddb.zip CMake-b759f7068f4e263917ab029f9e9a518dfd386ddb.tar.gz CMake-b759f7068f4e263917ab029f9e9a518dfd386ddb.tar.bz2 |
cmVSSetupHelper: Expose default toolset version
We already detect the VS toolset version. Expose it to clients.
Diffstat (limited to 'Source/cmVSSetupHelper.h')
-rw-r--r-- | Source/cmVSSetupHelper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVSSetupHelper.h b/Source/cmVSSetupHelper.h index 8ce36de..4144c15 100644 --- a/Source/cmVSSetupHelper.h +++ b/Source/cmVSSetupHelper.h @@ -107,6 +107,7 @@ struct VSInstanceInfo std::wstring InstanceId; std::wstring VSInstallLocation; std::wstring Version; + std::string VCToolsetVersion; ULONGLONG ullVersion = 0; bool IsWin10SDKInstalled = false; bool IsWin81SDKInstalled = false; @@ -126,6 +127,7 @@ public: bool IsVS2017Installed(); bool GetVSInstanceInfo(std::string& vsInstallLocation); + bool GetVCToolsetVersion(std::string& vsToolsetVersion); bool IsWin10SDKInstalled(); bool IsWin81SDKInstalled(); |