From b759f7068f4e263917ab029f9e9a518dfd386ddb Mon Sep 17 00:00:00 2001 From: Basil Fierz Date: Wed, 20 Jun 2018 22:34:54 +0200 Subject: cmVSSetupHelper: Expose default toolset version We already detect the VS toolset version. Expose it to clients. --- Source/cmVSSetupHelper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/cmVSSetupHelper.h') diff --git a/Source/cmVSSetupHelper.h b/Source/cmVSSetupHelper.h index 8ce36de4af..4144c15415 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(); -- cgit v1.2.1