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:
@@ -30,8 +30,6 @@
|
||||
#include "gccetoolchain.h"
|
||||
#include "qt4project.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <QtCore/QDir>
|
||||
#include <QtDebug>
|
||||
|
||||
@@ -58,11 +56,13 @@ ToolChain::ToolChainType GCCEToolChain::type() const
|
||||
|
||||
QList<HeaderPath> GCCEToolChain::systemHeaderPaths()
|
||||
{
|
||||
GccToolChain::systemHeaderPaths();
|
||||
m_systemHeaderPaths.append(HeaderPath(QString("%1\\epoc32\\include").arg(m_deviceRoot), HeaderPath::GlobalHeaderPath));
|
||||
m_systemHeaderPaths.append(HeaderPath(QString("%1\\epoc32\\include\\stdapis").arg(m_deviceRoot), HeaderPath::GlobalHeaderPath));
|
||||
m_systemHeaderPaths.append(HeaderPath(QString("%1\\epoc32\\include\\stdapis\\sys").arg(m_deviceRoot), HeaderPath::GlobalHeaderPath));
|
||||
m_systemHeaderPaths.append(HeaderPath(QString("%1\\epoc32\\include\\variant").arg(m_deviceRoot), HeaderPath::GlobalHeaderPath));
|
||||
if (m_systemHeaderPaths.isEmpty()) {
|
||||
GccToolChain::systemHeaderPaths();
|
||||
m_systemHeaderPaths.append(HeaderPath(QString("%1\\epoc32\\include").arg(m_deviceRoot), HeaderPath::GlobalHeaderPath));
|
||||
m_systemHeaderPaths.append(HeaderPath(QString("%1\\epoc32\\include\\stdapis").arg(m_deviceRoot), HeaderPath::GlobalHeaderPath));
|
||||
m_systemHeaderPaths.append(HeaderPath(QString("%1\\epoc32\\include\\stdapis\\sys").arg(m_deviceRoot), HeaderPath::GlobalHeaderPath));
|
||||
m_systemHeaderPaths.append(HeaderPath(QString("%1\\epoc32\\include\\variant").arg(m_deviceRoot), HeaderPath::GlobalHeaderPath));
|
||||
}
|
||||
return m_systemHeaderPaths;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user