mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Changing the name, amke command, or make flags did not trigger a rebuild. It does now.
This commit is contained in:
parent
8aa440e138
commit
6d05a79a53
1 changed files with 3 additions and 0 deletions
|
@ -880,6 +880,7 @@ public class Target extends BuildObject implements ITarget {
|
||||||
public void setArtifactName(String name) {
|
public void setArtifactName(String name) {
|
||||||
if (name != null) {
|
if (name != null) {
|
||||||
artifactName = name;
|
artifactName = name;
|
||||||
|
setRebuildState(true);
|
||||||
isDirty = true;
|
isDirty = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -904,6 +905,7 @@ public class Target extends BuildObject implements ITarget {
|
||||||
public void setMakeArguments(String makeArgs) {
|
public void setMakeArguments(String makeArgs) {
|
||||||
if (makeArgs != null && !getMakeArguments().equals(makeArgs)) {
|
if (makeArgs != null && !getMakeArguments().equals(makeArgs)) {
|
||||||
makeArguments = makeArgs;
|
makeArguments = makeArgs;
|
||||||
|
setRebuildState(true);
|
||||||
isDirty = true;
|
isDirty = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -914,6 +916,7 @@ public class Target extends BuildObject implements ITarget {
|
||||||
public void setMakeCommand(String command) {
|
public void setMakeCommand(String command) {
|
||||||
if (command != null && !getMakeCommand().equals(command)) {
|
if (command != null && !getMakeCommand().equals(command)) {
|
||||||
makeCommand = command;
|
makeCommand = command;
|
||||||
|
setRebuildState(true);
|
||||||
isDirty = true;
|
isDirty = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue