mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Removed some old VC6 workarounds, and removed the VC6 exporter from the introjucer.
This commit is contained in:
parent
d70d017fc6
commit
5308aef329
22 changed files with 57 additions and 364 deletions
|
|
@ -120,6 +120,8 @@ void Project::setMissingDefaultValues()
|
|||
|
||||
if (! projectRoot.getChildWithName (Tags::exporters).isValid())
|
||||
createDefaultExporters();
|
||||
else
|
||||
removeDefunctExporters();
|
||||
|
||||
getProjectType().setMissingProjectProperties (*this);
|
||||
|
||||
|
|
@ -173,6 +175,21 @@ void Project::moveOldPropertyFromProjectToAllExporters (Identifier name)
|
|||
}
|
||||
}
|
||||
|
||||
void Project::removeDefunctExporters()
|
||||
{
|
||||
ValueTree exporters (projectRoot.getChildWithName (Tags::exporters));
|
||||
|
||||
for (;;)
|
||||
{
|
||||
ValueTree oldVC6Exporter (exporters.getChildWithName ("MSVC6"));
|
||||
|
||||
if (oldVC6Exporter.isValid())
|
||||
exporters.removeChild (oldVC6Exporter, nullptr);
|
||||
else
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void Project::addDefaultModules (bool shouldCopyFilesLocally)
|
||||
{
|
||||
addModule ("juce_core", shouldCopyFilesLocally);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue