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:
con
2009-08-05 17:06:52 +02:00
parent c8d6c400b6
commit fe92b40f45
12 changed files with 241 additions and 23 deletions

View File

@@ -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