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

Projucer: Only write plugin characteristics file once

This commit is contained in:
ed 2018-04-16 10:16:30 +01:00
parent df6f60f2e0
commit 193a47c10b
2 changed files with 4 additions and 3 deletions

View file

@ -191,9 +191,6 @@ void ProjectSaver::writeProjects (const OwnedArray<LibraryModule>& modules, cons
for (auto& module: modules)
module->addSettingsForModuleToExporter (*exporter, *this);
if (project.getProjectType().isAudioPlugin())
writePluginCharacteristicsFile();
generatedFilesGroup.sortAlphabetically (true, true);
exporter->getAllGroups().add (generatedFilesGroup);
}

View file

@ -98,6 +98,10 @@ public:
writeAppHeader (modules);
writeModuleCppWrappers (modules);
writeProjects (modules, specifiedExporterToSave, ! showProgressBox);
if (project.getProjectType().isAudioPlugin())
writePluginCharacteristicsFile();
writeAppConfigFile (modules, appConfigUserContent); // (this is repeated in case the projects added anything to it)
// if the project root has changed after writing the other files then re-save it