Browse Source

Projucer: Clarified the OSX base SDK version that will be used if the "Default" option is selected

tags/2021-05-28
ed 7 years ago
parent
commit
dfc2eb9760
1 changed files with 4 additions and 9 deletions
  1. +4
    -9
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h

+ 4
- 9
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h View File

@@ -412,7 +412,7 @@ protected:
XcodeBuildConfiguration (Project& p, const ValueTree& t, const bool isIOS, const ProjectExporter& e)
: BuildConfiguration (p, t, e),
iOS (isIOS),
osxSDKVersion (config, Ids::osxSDK, getUndoManager(), String (osxVersionDefault) + " SDK"),
osxSDKVersion (config, Ids::osxSDK, getUndoManager()),
osxDeploymentTarget (config, Ids::osxCompatibility, getUndoManager(), String (osxVersionDefault) + " SDK"),
iosDeploymentTarget (config, Ids::iosCompatibility, getUndoManager(), iosVersionDefault),
osxArchitecture (config, Ids::osxArchitecture, getUndoManager(), osxArch_Default),
@@ -465,7 +465,8 @@ protected:
}
props.add (new ChoicePropertyComponent (osxSDKVersion, "OSX Base SDK Version", sdkVersionNames, versionValues),
"The version of OSX to link against in the Xcode build.");
"The version of OSX to link against in the Xcode build. If \"Default\" is selected then the field will be left "
"empty and the Xcode default will be used.");
props.add (new ChoicePropertyComponent (osxDeploymentTarget, "OSX Deployment Target", osxVersionNames, versionValues),
"The minimum version of OSX that the target binary will be compatible with.");
@@ -516,14 +517,8 @@ protected:
String getCustomXcodeFlagsString() const { return customXcodeFlags.get(); }
String getOSXSDKVersionString() const { return osxSDKVersion.get(); }
String getOSXDeploymentTargetString() const { return osxDeploymentTarget.get(); }
String getOSXSDKVersionString() const
{
if (osxSDKVersion.isUsingDefault())
return {};
return osxSDKVersion.get();
}
String getCodeSignIdentityString() const { return codeSignIdentity.get(); }
bool isUsingDefaultCodeSignIdentity() const { return codeSignIdentity.isUsingDefault(); }


Loading…
Cancel
Save