forked from qt-creator/qt-creator
Start on rvct support.
It works, except that the code model doesn't get the rvct include directories and defines yet. And you need to have everything for rvct set up in your environment.
This commit is contained in:
@@ -100,7 +100,10 @@ bool Qt4RunConfiguration::isEnabled() const
|
||||
Qt4Project *pro = qobject_cast<Qt4Project*>(project());
|
||||
QTC_ASSERT(pro, return false);
|
||||
ProjectExplorer::ToolChain::ToolChainType type = pro->toolChainType(pro->activeBuildConfiguration());
|
||||
return type != ProjectExplorer::ToolChain::WINSCW && type != ProjectExplorer::ToolChain::GCCE;
|
||||
return type != ProjectExplorer::ToolChain::WINSCW
|
||||
&& type != ProjectExplorer::ToolChain::GCCE
|
||||
&& type != ProjectExplorer::ToolChain::RVCT_ARMV5
|
||||
&& type != ProjectExplorer::ToolChain::RVCT_ARMV6;
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user