Browse Source

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

tags/2021-05-28
ed 8 years ago
parent
commit
92f040ef23
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h

+ 5
- 2
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h View File

@@ -87,9 +87,12 @@ public:
if (getWindowsTargetPlatformVersionValue() == Value()) if (getWindowsTargetPlatformVersionValue() == Value())
getWindowsTargetPlatformVersionValue() = getDefaultWindowsTargetPlatformVersion(); getWindowsTargetPlatformVersionValue() = getDefaultWindowsTargetPlatformVersion();
auto isWindows10SDK = getVisualStudioVersion() > 14;
props.add (new TextPropertyComponent (getWindowsTargetPlatformVersionValue(), "Windows Target Platform", 20, false), 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 void addPlatformToolsetToPropertyGroup (XmlElement& p) const


Loading…
Cancel
Save