Browse Source

Projucer: Made the default Windows target platform version 8.1 for VS2013 and VS2015 exporters and 10.0.15063.0 for VS2017 exporters

tags/2021-05-28
ed 8 years ago
parent
commit
955b2aa71e
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      extras/Projucer/Source/Project Saving/jucer_ProjectExport_MSVC.h

+ 6
- 2
extras/Projucer/Source/Project Saving/jucer_ProjectExport_MSVC.h View File

@@ -1642,6 +1642,7 @@ public:
Value getIPPLibraryValue() { return getSetting (Ids::IPPLibrary); }
String getIPPLibrary() const { return settings [Ids::IPPLibrary]; }
virtual String getCppLanguageStandard() const { return {}; }
virtual String getDefaultWindowsTargetPlatformVersion() const { return "8.1"; }
String getPlatformToolset() const
{
@@ -1807,7 +1808,7 @@ public:
String getWindowsTargetPlatformVersion() const
{
String targetPlatform = settings [Ids::windowsTargetPlatformVersion];
return (targetPlatform.isNotEmpty() ? targetPlatform : String ("10.0.14393.0"));
return (targetPlatform.isNotEmpty() ? targetPlatform : getDefaultWindowsTargetPlatformVersion());
}
static MSVCProjectExporterVC2012* createForSettings (Project& project, const ValueTree& settings)
@@ -1836,7 +1837,8 @@ public:
props.add (new ChoicePropertyComponent (getWindowsTargetPlatformVersionValue(), "Windows Target Platform",
StringArray (targetPlatformNames), Array<var> (targetPlatforms, numElementsInArray (targetPlatforms))),
"The Windows target platform version to use");
"Specifies the version of the Windows SDK that will be used when building this project. "
"The default value for this exporter is " + getDefaultWindowsTargetPlatformVersion());
}
private:
@@ -1955,6 +1957,8 @@ public:
String getToolsVersion() const override { return "15.0"; }
String getDefaultToolset() const override { return "v141"; }
String getDefaultWindowsTargetPlatformVersion() const override { return "10.0.15063.0"; }
static MSVCProjectExporterVC2017* createForSettings (Project& project, const ValueTree& settings)
{
if (settings.hasType (getValueTreeTypeName()))


Loading…
Cancel
Save