mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Allow specifying build number for Xcode projects
This commit is contained in:
parent
768c2f6db1
commit
f5a7d4eea5
7 changed files with 38 additions and 10 deletions
|
|
@ -248,7 +248,8 @@ juce::build_tools::PlistOptions parsePlistOptions (const juce::File& file,
|
|||
updateField ("SHOULD_ADD_STORYBOARD", result.shouldAddStoryboardToProject);
|
||||
updateField ("LAUNCH_STORYBOARD_FILE", result.storyboardName);
|
||||
updateField ("PROJECT_NAME", result.projectName);
|
||||
updateField ("VERSION", result.version);
|
||||
updateField ("VERSION", result.marketingVersion);
|
||||
updateField ("BUILD_VERSION", result.currentProjectVersion);
|
||||
updateField ("COMPANY_COPYRIGHT", result.companyCopyright);
|
||||
updateField ("DOCUMENT_EXTENSIONS", result.documentExtensions);
|
||||
updateField ("FILE_SHARING_ENABLED", result.fileSharingEnabled);
|
||||
|
|
@ -274,7 +275,7 @@ juce::build_tools::PlistOptions parsePlistOptions (const juce::File& file,
|
|||
updateField ("ICON_FILE", result.iconFile);
|
||||
|
||||
result.type = type;
|
||||
result.versionAsHex = juce::build_tools::getVersionAsHexInteger (result.version);
|
||||
result.versionAsHex = juce::build_tools::getVersionAsHexInteger (result.marketingVersion);
|
||||
|
||||
if (result.storyboardName.isNotEmpty())
|
||||
result.storyboardName = result.storyboardName.fromLastOccurrenceOf ("/", false, false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue