mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 03:45:35 +02:00
Fix for bug#147070
This commit is contained in:
parent
4836857ef3
commit
b3fa88e4c8
2 changed files with 6 additions and 0 deletions
|
@ -341,6 +341,9 @@ public class PropertyManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearProperties(IManagedProject mProject){
|
public void clearProperties(IManagedProject mProject){
|
||||||
|
if(mProject == null)
|
||||||
|
return;
|
||||||
|
|
||||||
IConfiguration cfgs[] = mProject.getConfigurations();
|
IConfiguration cfgs[] = mProject.getConfigurations();
|
||||||
for(int i = 0; i < cfgs.length; i++)
|
for(int i = 0; i < cfgs.length; i++)
|
||||||
clearLoaddedData(cfgs[i]);
|
clearLoaddedData(cfgs[i]);
|
||||||
|
|
|
@ -3865,6 +3865,9 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
|
||||||
path = path.removeFirstSegments(dirLocation.segmentCount()).setDevice(null);
|
path = path.removeFirstSegments(dirLocation.segmentCount()).setDevice(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( fileList == null ) {
|
||||||
|
fileList = new Vector();
|
||||||
|
}
|
||||||
fileList.add(path.toString());
|
fileList.add(path.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue