mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Projucer: Added a company copyright field to the project settings
This commit is contained in:
parent
758351a28f
commit
bffc53b336
5 changed files with 10 additions and 1 deletions
|
|
@ -148,6 +148,9 @@ void Project::setMissingDefaultValues()
|
|||
if (! projectRoot.hasProperty (Ids::cppLanguageStandard) && ! setCppVersionFromOldExporterSettings())
|
||||
getCppStandardValue() = "11";
|
||||
|
||||
if (getCompanyCopyright().toString().isEmpty())
|
||||
getCompanyCopyright() = getCompanyName().toString();
|
||||
|
||||
ProjucerApplication::getApp().updateNewlyOpenedProject (*this);
|
||||
}
|
||||
|
||||
|
|
@ -629,6 +632,9 @@ void Project::createPropertyEditors (PropertyListBuilder& props)
|
|||
props.add (new TextPropertyComponent (getCompanyName(), "Company Name", 256, false),
|
||||
"Your company name, which will be added to the properties of the binary where possible");
|
||||
|
||||
props.add (new TextPropertyComponent (getCompanyCopyright(), "Company Copyright", 256, false),
|
||||
"Your company copyright, which will be added to the properties of the binary where possible");
|
||||
|
||||
props.add (new TextPropertyComponent (getCompanyWebsite(), "Company Website", 256, false),
|
||||
"Your company website, which will be added to the properties of the binary where possible");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue