1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Made the tooltip for the "Windows Target Platform" option of the VS exporter more helpful

This commit is contained in:
ed 2017-10-27 14:21:15 +01:00
parent 6491862417
commit 92f040ef23

View file

@ -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