1
0
Fork 0
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:
Timur Doumler 2015-08-13 17:47:01 +01:00
parent 7ea0ab19fd
commit a178731a95
7 changed files with 126 additions and 23 deletions

View file

@ -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;
}
}
//==============================================================================