summaryrefslogtreecommitdiffstats
path: root/Source/cmVSSetupHelper.h
diff options
context:
space:
mode:
authorBasil Fierz <basil.fierz@hotmail.com>2018-06-20 20:34:54 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-22 14:07:09 (GMT)
commitb759f7068f4e263917ab029f9e9a518dfd386ddb (patch)
tree93b55090a09b54786a8c03eb8adfd527d1c0d583 /Source/cmVSSetupHelper.h
parentd548994afcfccbff17fcba5698ed10f083142059 (diff)
downloadCMake-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.h2
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();