ToolChainFactory: Add support for different languages

* Add a pure virtual method to get supportedLanguges with

Change-Id: Ida4445ca045c90fb9f7656a661af83e5b6801b30
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-07-12 11:33:17 +02:00
parent 1304b250eb
commit ca04c4c264
15 changed files with 62 additions and 0 deletions

View File

@@ -363,6 +363,11 @@ static ClangToolChain *createToolChain(const Platform &platform)
return toolChain;
}
QSet<ToolChain::Language> IosToolChainFactory::supportedLanguages() const
{
return { ProjectExplorer::ToolChain::Language::Cxx };
}
QList<ToolChain *> IosToolChainFactory::autoDetect(const QList<ToolChain *> &existingToolChains)
{
QList<ClangToolChain *> existingClangToolChains = clangToolChains(existingToolChains);