mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 11:25:35 +02:00
Bug 100844 ICSettingEntry.LIBRARY_FILE not currently contributed back to core model as the lib names exported by the build system aren't absolute paths & hence can't be resolved.
This commit is contained in:
parent
1e9d430245
commit
297e4e1de8
1 changed files with 10 additions and 7 deletions
|
@ -758,14 +758,17 @@ public class PathEntryTranslator {
|
|||
return result;
|
||||
}
|
||||
case ICSettingEntry.LIBRARY_PATH:
|
||||
case ICSettingEntry.LIBRARY_FILE:
|
||||
// Bug 100844 don't contribute library files back to the CModel as a library files, as supplied by the build system,
|
||||
// aren't currently resolved
|
||||
return null;
|
||||
case ICSettingEntry.LIBRARY_FILE:{
|
||||
IPath paths[][] = getEntryPath(fLangEntry, cfg);
|
||||
result = new IPathEntry[paths[0].length];
|
||||
for (int i=0; i<result.length; i++)
|
||||
result[i] = CoreModel.newLibraryEntry(path, paths[0][i], paths[1][i], null, null, null, fIsExported);
|
||||
return result;
|
||||
}
|
||||
// case ICSettingEntry.LIBRARY_FILE:{
|
||||
// IPath paths[][] = getEntryPath(fLangEntry, cfg);
|
||||
// result = new IPathEntry[paths[0].length];
|
||||
// for (int i=0; i<result.length; i++)
|
||||
// result[i] = CoreModel.newLibraryEntry(path, paths[0][i], paths[1][i], null, null, null, fIsExported);
|
||||
// return result;
|
||||
// }
|
||||
case ICSettingEntry.OUTPUT_PATH:
|
||||
result = new IPathEntry[1];
|
||||
result[0] = CoreModel.newOutputEntry(fPath, getExclusionPatterns());
|
||||
|
|
Loading…
Add table
Reference in a new issue