Commit f18eb672 authored by Daniel Teske's avatar Daniel Teske

Generic Project: Change order of includes

Task-number: QTCREATORBUG-10198

Change-Id: Iff86f5ea19a4e4730b1bb1d21381d689369efea1
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 957f09a2
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment