Browse Source

PIPs: Ignore system headers in replaceRelativeIncludesAndGetFilesToMove()

tags/2021-05-28
ed 8 years ago
parent
commit
977e173dc0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      extras/Projucer/Source/Utility/PIPs/jucer_PIPGenerator.cpp

+ 3
- 0
extras/Projucer/Source/Utility/PIPs/jucer_PIPGenerator.cpp View File

@@ -511,6 +511,9 @@ Array<File> PIPGenerator::replaceRelativeIncludesAndGetFilesToMove()
auto path = line.fromFirstOccurrenceOf ("#include", false, false);
path = path.removeCharacters ("\"").trim();
if (path.startsWith ("<") && path.endsWith (">"))
continue;
auto file = pipFile.getParentDirectory().getChildFile (path);
files.add (file);


Loading…
Cancel
Save