mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
convertToId Tool-chains, Tools and builders are marked as "system"
This commit is contained in:
parent
a28df172a8
commit
2a45a83078
3 changed files with 11 additions and 0 deletions
|
@ -2363,6 +2363,10 @@ public class Builder extends BuildObject implements IBuilder, IMatchKeyProvider
|
|||
public boolean isSystemObject() {
|
||||
if(isTest)
|
||||
return true;
|
||||
|
||||
if(getConvertToId().length() != 0)
|
||||
return true;
|
||||
|
||||
if(getParent() != null)
|
||||
return getParent().isSystemObject();
|
||||
return false;
|
||||
|
|
|
@ -3863,6 +3863,10 @@ public class Tool extends HoldsOptions implements ITool, IOptionCategory, IMatch
|
|||
public boolean isSystemObject() {
|
||||
if(isTest)
|
||||
return true;
|
||||
|
||||
if(getConvertToId().length() != 0)
|
||||
return true;
|
||||
|
||||
IBuildObject bo = getParent();
|
||||
if(bo instanceof IToolChain)
|
||||
return ((IToolChain)bo).isSystemObject();
|
||||
|
|
|
@ -2333,6 +2333,9 @@ public class ToolChain extends HoldsOptions implements IToolChain, IBuildPropert
|
|||
if(isTest)
|
||||
return true;
|
||||
|
||||
if(getConvertToId().length() != 0)
|
||||
return true;
|
||||
|
||||
if(getParent() != null)
|
||||
return getParent().isSystemObject();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue