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

Projucer: Set the "organization" attribute of Xcode projects to the "Company Name" specified in the project settings in the Projucer

This commit is contained in:
ed 2017-11-06 17:16:32 +00:00
parent 198b5bf55a
commit 3c86b54846
2 changed files with 10 additions and 1 deletions

View file

@ -93,9 +93,16 @@ public:
String getDefaultAAXIdentifier() { return getDefaultBundleIdentifier(); }
Value getCompanyName() { return getProjectValue (Ids::companyName); }
String getCompanyNameString() const { return getProjectVar (Ids::companyName); }
Value getCompanyCopyright() { return getProjectValue (Ids::companyCopyright); }
String getCompanyCopyrightString() const { return getProjectVar (Ids::companyCopyright); }
Value getCompanyWebsite() { return getProjectValue (Ids::companyWebsite); }
String getCompanyWebsiteString() const { return getProjectVar (Ids::companyWebsite); }
Value getCompanyEmail() { return getProjectValue (Ids::companyEmail); }
String getCompanyEmailString() const { return getProjectVar (Ids::companyEmail); }
Value shouldDisplaySplashScreen() { return getProjectValue (Ids::displaySplashScreen); }
Value shouldReportAppUsage() { return getProjectValue (Ids::reportAppUsage); }

View file

@ -2852,7 +2852,9 @@ private:
{
String attributes;
attributes << "{ LastUpgradeCheck = 0830; ";
attributes << "{ LastUpgradeCheck = 0830; "
<< "ORGANIZATIONNAME = " << getProject().getCompanyNameString().quoted()
<<"; ";
if (projectType.isGUIApplication() || projectType.isAudioPlugin())
{