mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Introjucer: added Linux Code::Blocks project export.
This commit is contained in:
parent
8c242b7547
commit
898e3c3796
6 changed files with 126 additions and 45 deletions
|
|
@ -370,11 +370,11 @@ void LibraryModule::prepareExporter (ProjectExporter& exporter, ProjectSaver& pr
|
|||
|
||||
parseAndAddLibs (exporter.xcodeLibs, moduleInfo.moduleInfo [exporter.isOSX() ? "OSXLibs" : "iOSLibs"].toString());
|
||||
}
|
||||
else if (exporter.isLinux())
|
||||
else if (exporter.isLinuxMakefile() || exporter.isCodeBlocksLinux())
|
||||
{
|
||||
parseAndAddLibs (exporter.linuxLibs, moduleInfo.moduleInfo ["LinuxLibs"].toString());
|
||||
}
|
||||
else if (exporter.isCodeBlocks())
|
||||
else if (exporter.isCodeBlocksWindows())
|
||||
{
|
||||
parseAndAddLibs (exporter.mingwLibs, moduleInfo.moduleInfo ["mingwLibs"].toString());
|
||||
}
|
||||
|
|
@ -497,11 +497,17 @@ void LibraryModule::findWildcardMatches (const File& localModuleFolder, const St
|
|||
|
||||
static bool fileTargetMatches (ProjectExporter& exporter, const String& target)
|
||||
{
|
||||
if (exporter.isXcode()) return exporterTargetMatches ("xcode", 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);
|
||||
if (exporter.isXcode())
|
||||
return exporterTargetMatches ("xcode", target);
|
||||
if (exporter.isWindows())
|
||||
return exporterTargetMatches ("msvc", target);
|
||||
if (exporter.isLinuxMakefile() || exporter.isCodeBlocksLinux())
|
||||
return exporterTargetMatches ("linux", target);
|
||||
if (exporter.isAndroid())
|
||||
return exporterTargetMatches ("android", target);
|
||||
if (exporter.isCodeBlocksWindows())
|
||||
return exporterTargetMatches ("mingw", target);
|
||||
|
||||
return target.isEmpty();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue