forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user