mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fix for bugzilla 76483 - [Managed Make] ToolReferences with no defined output extensions answer that they build everything
This commit is contained in:
parent
a192c2f172
commit
c7caaff4a6
1 changed files with 7 additions and 1 deletions
|
@ -569,7 +569,13 @@ public class ToolReference implements IToolReference {
|
||||||
* @see org.eclipse.cdt.managedbuilder.core.ITool#getOutputExtensions()
|
* @see org.eclipse.cdt.managedbuilder.core.ITool#getOutputExtensions()
|
||||||
*/
|
*/
|
||||||
public String[] getOutputExtensions() {
|
public String[] getOutputExtensions() {
|
||||||
if (outputExtensions == null) outputExtensions = new String();
|
if (outputExtensions == null){
|
||||||
|
if (parent != null) {
|
||||||
|
return parent.getOutputExtensions();
|
||||||
|
} else {
|
||||||
|
return new String[0];
|
||||||
|
}
|
||||||
|
}
|
||||||
return outputExtensions.split(DEFAULT_SEPARATOR);
|
return outputExtensions.split(DEFAULT_SEPARATOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue