use of org.eclipse.cdt.managedbuilder.core.IConfiguration in project m2e-nar by maven-nar.
the class AbstractGnuLinkerSynchroniser method pathsOnlySync.
@Override
public void pathsOnlySync(ICConfigurationDescription cfg, NarBuildArtifact artifactSettings) throws CoreException {
final BuildConfigurationData confData = (BuildConfigurationData) cfg.getConfigurationData();
final IConfiguration managedConf = confData.getConfiguration();
final OptionSetter optionSetter = new OptionSetter(managedConf, getToolId());
setOptions(optionSetter, artifactSettings);
}
use of org.eclipse.cdt.managedbuilder.core.IConfiguration in project m2e-nar by maven-nar.
the class AbstractGnuLinkerSynchroniser method fullSync.
@Override
public void fullSync(ICConfigurationDescription cfg, NarBuildArtifact artifactSettings) throws CoreException {
final BuildConfigurationData confData = (BuildConfigurationData) cfg.getConfigurationData();
final IConfiguration managedConf = confData.getConfiguration();
for (final ITool tool : managedConf.getToolsBySuperClassId(getToolId())) {
tool.setToolCommand(artifactSettings.getLinkerSettings().getName());
}
}
Aggregations