forked from qt-creator/qt-creator
ProjectExplorer: Rename compiler includes from System to BuiltIn
System include are those used with -isystem keyword, built-in includes on the other hand come from compiler and always follow in the end of the include list (after system includes). Change-Id: I95c2fec36d2e5b43f014fe0a88d59c6769edfa1f Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -334,7 +334,7 @@ static void processCMakeIncludes(const CMakeBuildTarget &cbt, const ToolChain *t
|
||||
if (!tc)
|
||||
return;
|
||||
|
||||
foreach (const HeaderPath &hp, tc->systemHeaderPaths(flags, sysroot))
|
||||
foreach (const HeaderPath &hp, tc->builtInHeaderPaths(flags, sysroot))
|
||||
tcIncludes.insert(FileName::fromString(hp.path));
|
||||
foreach (const FileName &i, cbt.includeFiles) {
|
||||
if (!tcIncludes.contains(i))
|
||||
|
||||
Reference in New Issue
Block a user