mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Introjucer: better setup of module paths in new exporters.
This commit is contained in:
parent
2c9c35d3c3
commit
4de9768ecb
1 changed files with 21 additions and 2 deletions
|
|
@ -383,13 +383,32 @@ void ProjectExporter::createDefaultModulePaths()
|
|||
for (int i = project.getModules().getNumModules(); --i >= 0;)
|
||||
{
|
||||
String modID (project.getModules().getModuleID(i));
|
||||
|
||||
getPathForModuleValue (modID) = exporter->getPathForModuleValue (modID).getValue();
|
||||
}
|
||||
|
||||
break;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
for (Project::ExporterIterator exporter (project); exporter.next();)
|
||||
{
|
||||
if (exporter->canLaunchProject())
|
||||
{
|
||||
for (int i = project.getModules().getNumModules(); --i >= 0;)
|
||||
{
|
||||
String modID (project.getModules().getModuleID(i));
|
||||
getPathForModuleValue (modID) = exporter->getPathForModuleValue (modID).getValue();
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = project.getModules().getNumModules(); --i >= 0;)
|
||||
{
|
||||
String modID (project.getModules().getModuleID(i));
|
||||
getPathForModuleValue (modID) = "../../juce";
|
||||
}
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue