1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

bug 333113: Rebuild last target: option to use build location of active build configuration

Patch from Axel Mueller
This commit is contained in:
Andrew Gvozdev 2011-02-16 03:52:33 +00:00
parent 003e75e1bb
commit 81fde57a42

View file

@ -85,7 +85,8 @@ public class BuildLastTargetAction extends AbstractTargetAction {
// no last target found, let the user decide // no last target found, let the user decide
if (showDialog) { if (showDialog) {
BuildTargetDialog dialog = new BuildTargetDialog(getShell(), container, false/*Recursive*/); boolean recursive = MakePreferencePage.useProjectLastMakeTarget();
BuildTargetDialog dialog = new BuildTargetDialog(getShell(), container, recursive );
if (dialog.open() == Window.OK) { if (dialog.open() == Window.OK) {
IMakeTarget target = dialog.getTarget(); IMakeTarget target = dialog.getTarget();
if (target != null) { if (target != null) {