mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +02:00
Fix for [Bug 186688] library parameters are not generated
This commit is contained in:
parent
04647950ec
commit
4ec3ba2baa
2 changed files with 15 additions and 1 deletions
|
@ -811,6 +811,13 @@ public class InputType extends BuildObject implements IInputType {
|
||||||
setDirty(true);
|
setDirty(true);
|
||||||
return addlInput;
|
return addlInput;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IAdditionalInput createAdditionalInput(IAdditionalInput base) {
|
||||||
|
AdditionalInput newAdditionalInput = new AdditionalInput(this, (AdditionalInput)base);
|
||||||
|
getAdditionalInputList().add(newAdditionalInput);
|
||||||
|
setDirty(true);
|
||||||
|
return newAdditionalInput;
|
||||||
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.cdt.core.build.managed.IInputType#getAdditionalInputs()
|
* @see org.eclipse.cdt.core.build.managed.IInputType#getAdditionalInputs()
|
||||||
|
|
|
@ -33,6 +33,7 @@ import org.eclipse.cdt.core.settings.model.extension.CLanguageData;
|
||||||
import org.eclipse.cdt.managedbuilder.buildproperties.IBuildPropertyType;
|
import org.eclipse.cdt.managedbuilder.buildproperties.IBuildPropertyType;
|
||||||
import org.eclipse.cdt.managedbuilder.buildproperties.IBuildPropertyValue;
|
import org.eclipse.cdt.managedbuilder.buildproperties.IBuildPropertyValue;
|
||||||
import org.eclipse.cdt.managedbuilder.core.BuildException;
|
import org.eclipse.cdt.managedbuilder.core.BuildException;
|
||||||
|
import org.eclipse.cdt.managedbuilder.core.IAdditionalInput;
|
||||||
import org.eclipse.cdt.managedbuilder.core.IBuildObject;
|
import org.eclipse.cdt.managedbuilder.core.IBuildObject;
|
||||||
import org.eclipse.cdt.managedbuilder.core.IConfiguration;
|
import org.eclipse.cdt.managedbuilder.core.IConfiguration;
|
||||||
import org.eclipse.cdt.managedbuilder.core.IEnvVarBuildPath;
|
import org.eclipse.cdt.managedbuilder.core.IEnvVarBuildPath;
|
||||||
|
@ -3535,7 +3536,13 @@ public class Tool extends HoldsOptions implements ITool, IOptionCategory, IMatch
|
||||||
} else {
|
} else {
|
||||||
id = ManagedBuildManager.calculateChildId(getId(), null);
|
id = ManagedBuildManager.calculateChildId(getId(), null);
|
||||||
}
|
}
|
||||||
return createInputType(base, id, base.getName(), false);
|
InputType newType = (InputType)createInputType(base, id, base.getName(), false);
|
||||||
|
IAdditionalInput addlInputs[] = base.getAdditionalInputs();
|
||||||
|
for(int i = 0; i < addlInputs.length; i++){
|
||||||
|
IAdditionalInput addlInput = addlInputs[i];
|
||||||
|
newType.createAdditionalInput(addlInput);
|
||||||
|
}
|
||||||
|
return newType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean supportsType(IBuildPropertyType type) {
|
public boolean supportsType(IBuildPropertyType type) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue