mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
refactoring: put initialisation of dependency path values into the individual exporters, called from their constructors.
This commit is contained in:
parent
7ea0ab19fd
commit
a178731a95
7 changed files with 126 additions and 23 deletions
|
|
@ -223,17 +223,6 @@ namespace
|
|||
exporter.rebaseFromProjectFolderToBuildTarget (path)
|
||||
.toWindowsStyle());
|
||||
}
|
||||
|
||||
DependencyPathOS getDependencyPathOS (const ProjectExporter& exporter)
|
||||
{
|
||||
if (exporter.isWindows()) return DependencyPath::windows;
|
||||
if (exporter.isXcode()) return DependencyPath::osx;
|
||||
if (exporter.isLinux()) return DependencyPath::linux;
|
||||
|
||||
// cannot figure out which OS's dependency paths this exporter wants!!
|
||||
jassertfalse;
|
||||
return DependencyPath::unknown;
|
||||
}
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue