mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-15 12:15:47 +02:00
fix for exported settings
This commit is contained in:
parent
a5d95152d2
commit
f3c54d18df
1 changed files with 9 additions and 1 deletions
|
@ -2699,9 +2699,17 @@ public class Configuration extends BuildObject implements IConfiguration, IBuild
|
|||
List list = new ArrayList(entries.length + 1);
|
||||
|
||||
list.add(new CIncludePathEntry(path.toString(), ICLanguageSettingEntry.VALUE_WORKSPACE_PATH));
|
||||
|
||||
entries = CDataUtil.resolveEntries(entries, des);
|
||||
for(int i = 0; i < entries.length; i++){
|
||||
ICOutputEntry out = entries[i];
|
||||
ICLibraryPathEntry lib = new CLibraryPathEntry(out.getValue(), out.getFlags() & (~ICLanguageSettingEntry.RESOLVED));
|
||||
String value = out.getValue();
|
||||
|
||||
IPath p = new Path(value);
|
||||
if(!p.isAbsolute())
|
||||
value = getOwner().getFullPath().append(value).toString();
|
||||
|
||||
ICLibraryPathEntry lib = new CLibraryPathEntry(value, out.getFlags() & (~ICSettingEntry.RESOLVED));
|
||||
list.add(lib);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue