use of org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildConfigurationData in project m2e-nar by maven-nar.
the class AbstractSettingsSynchroniser method setArtifactName.
private void setArtifactName(ICConfigurationDescription cfg, NarBuildArtifact artifactSettings) {
final String artifactName = artifactSettings.getArtifactName();
if (artifactName != null) {
BuildConfigurationData confData = (BuildConfigurationData) cfg.getConfigurationData();
IConfiguration managedConf = confData.getConfiguration();
managedConf.setArtifactName(artifactName);
}
}
use of org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildConfigurationData in project m2e-nar by maven-nar.
the class AbstractGnuCompilerSynchroniser method fullSync.
@Override
public void fullSync(ICConfigurationDescription cfg, NarBuildArtifact artifactSettings) throws CoreException {
BuildConfigurationData confData = (BuildConfigurationData) cfg.getConfigurationData();
IConfiguration managedConf = confData.getConfiguration();
for (final ITool tool : managedConf.getToolsBySuperClassId(getToolId())) {
tool.setToolCommand(getCompilerSettings(artifactSettings).getName());
}
final OptionSetter optionSetter = new OptionSetter(managedConf, getToolId());
setUndefinedSymbols(optionSetter, artifactSettings);
setOptimization(optionSetter, artifactSettings);
setDebug(optionSetter, artifactSettings);
setOptions(optionSetter, artifactSettings);
}
use of org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildConfigurationData 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.internal.dataprovider.BuildConfigurationData 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