mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 01:45:33 +02:00
[271550] Make Target View: preserve "Same as Target Name" when copying targets - patch applied
This commit is contained in:
parent
2e58269b33
commit
9ec1cc1155
1 changed files with 3 additions and 0 deletions
|
@ -383,6 +383,9 @@ public class MakeTargetDndUtil {
|
|||
|
||||
IMakeTarget newMakeTarget = makeTargetManager.createTarget(project, name, builderId);
|
||||
copyTargetData(makeTarget, newMakeTarget);
|
||||
if (makeTarget.getName().equals(makeTarget.getBuildAttribute(IMakeTarget.BUILD_TARGET, ""))) { //$NON-NLS-1$
|
||||
newMakeTarget.setBuildAttribute(IMakeTarget.BUILD_TARGET,name);
|
||||
}
|
||||
return newMakeTarget;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue