forked from qt-creator/qt-creator
Generic Project: Change order of includes
Task-number: QTCREATORBUG-10198 Change-Id: Iff86f5ea19a4e4730b1bb1d21381d689369efea1 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -254,6 +254,8 @@ void GenericProject::refresh(RefreshOptions options)
|
||||
part->displayName = displayName();
|
||||
part->projectFile = projectFilePath();
|
||||
|
||||
part->includePaths += allIncludePaths();
|
||||
|
||||
Kit *k = activeTarget() ? activeTarget()->kit() : KitManager::defaultKit();
|
||||
if (ToolChain *tc = ToolChainKitInformation::toolChain(k)) {
|
||||
QStringList cxxflags; // FIXME: Can we do better?
|
||||
@@ -262,7 +264,6 @@ void GenericProject::refresh(RefreshOptions options)
|
||||
}
|
||||
|
||||
part->cxxVersion = CppTools::ProjectPart::CXX11; // assume C++11
|
||||
part->includePaths += allIncludePaths();
|
||||
part->defines += m_defines;
|
||||
|
||||
// ### add _defines.
|
||||
|
||||
Reference in New Issue
Block a user