mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Introjucer: Added an exporter for Code::Blocks projects
This commit is contained in:
parent
01d123d1e8
commit
5601c4d189
18 changed files with 376 additions and 79 deletions
|
|
@ -518,6 +518,14 @@ void LibraryModule::prepareExporter (ProjectExporter& exporter, ProjectSaver& pr
|
|||
exporter.linuxLibs.sort (false);
|
||||
exporter.linuxLibs.removeDuplicates (false);
|
||||
}
|
||||
else if (exporter.isCodeBlocks())
|
||||
{
|
||||
const String libs (moduleInfo ["mingwLibs"].toString());
|
||||
exporter.mingwLibs.addTokens (libs, ", ", String::empty);
|
||||
exporter.mingwLibs.trim();
|
||||
exporter.mingwLibs.sort (false);
|
||||
exporter.mingwLibs.removeDuplicates (false);
|
||||
}
|
||||
|
||||
if (isPluginClient())
|
||||
{
|
||||
|
|
@ -605,9 +613,10 @@ static bool exporterTargetMatches (const String& test, String target)
|
|||
bool LibraryModule::fileTargetMatches (ProjectExporter& exporter, const String& target)
|
||||
{
|
||||
if (exporter.isXcode()) return exporterTargetMatches ("xcode", target);
|
||||
if (exporter.isVisualStudio()) return exporterTargetMatches ("msvc", target);
|
||||
if (exporter.isWindows()) return exporterTargetMatches ("msvc", target);
|
||||
if (exporter.isLinux()) return exporterTargetMatches ("linux", target);
|
||||
if (exporter.isAndroid()) return exporterTargetMatches ("android", target);
|
||||
if (exporter.isCodeBlocks()) return exporterTargetMatches ("mingw", target);
|
||||
return target.isEmpty();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue