1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

fixed junit

This commit is contained in:
David Inglis 2004-05-26 15:32:29 +00:00
parent ad024f522b
commit 581839e17c

View file

@ -139,6 +139,13 @@ public class MakeScannerProvider extends ScannerProvider {
IPathEntry[] entries = cProject.getRawPathEntries();
List cPaths = new ArrayList(Arrays.asList(entries));
Iterator cpIter = cPaths.iterator();
while(cpIter.hasNext()) {
int kind = ((IPathEntry)cpIter.next()).getEntryKind();
if(kind == IPathEntry.CDT_INCLUDE || kind == IPathEntry.CDT_MACRO) {
cpIter.remove();
}
}
for (int i = 0; i < includes.length; i++) {
IIncludeEntry include = CoreModel.newIncludeEntry(info.getProject().getFullPath(), null, new Path(includes[i]));
if (!cPaths.contains(include)) {