From 92f040ef23e2ab2a7f4a5af97b4aeeba2ab929cb Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 27 Oct 2017 14:21:15 +0100 Subject: [PATCH] Projucer: Made the tooltip for the "Windows Target Platform" option of the VS exporter more helpful --- .../Source/ProjectSaving/jucer_ProjectExport_MSVC.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h index 1f967363e5..a6e2ef5ef7 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h @@ -87,9 +87,12 @@ public: if (getWindowsTargetPlatformVersionValue() == Value()) getWindowsTargetPlatformVersionValue() = getDefaultWindowsTargetPlatformVersion(); + auto isWindows10SDK = getVisualStudioVersion() > 14; + props.add (new TextPropertyComponent (getWindowsTargetPlatformVersionValue(), "Windows Target Platform", 20, false), - "Specifies the version of the Windows SDK that will be used when building this project. " - "The default value for this exporter is " + getDefaultWindowsTargetPlatformVersion()); + String ("Specifies the version of the Windows SDK that will be used when building this project. ") + + (isWindows10SDK ? "You can see which SDKs you have installed on your machine by going to \"Program Files (x86)\\Windows Kits\\10\\Lib\". " : "") + + "The default value for this exporter is " + getDefaultWindowsTargetPlatformVersion()); } void addPlatformToolsetToPropertyGroup (XmlElement& p) const