mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
This commit is contained in:
parent
a98e218233
commit
c46d827e89
1 changed files with 9 additions and 0 deletions
|
@ -61,6 +61,7 @@ public class ProjectTargets {
|
|||
private static final String TARGET_USE_DEFAULT_CMD = "useDefaultCommand"; //$NON-NLS-1$
|
||||
private static final String TARGET_ARGUMENTS = "buildArguments"; //$NON-NLS-1$
|
||||
private static final String TARGET_COMMAND = "buildCommand"; //$NON-NLS-1$
|
||||
private static final String TARGET_RUN_ALL_BUILDERS = "runAllBuilders";
|
||||
private static final String BAD_TARGET = "buidlTarget"; //$NON-NLS-1$
|
||||
private static final String TARGET = "buildTarget"; //$NON-NLS-1$
|
||||
|
||||
|
@ -232,6 +233,10 @@ public class ProjectTargets {
|
|||
elem = doc.createElement(TARGET_USE_DEFAULT_CMD);
|
||||
elem.appendChild(doc.createTextNode(new Boolean(target.isDefaultBuildCmd()).toString()));
|
||||
targetElem.appendChild(elem);
|
||||
|
||||
elem = doc.createElement(TARGET_RUN_ALL_BUILDERS);
|
||||
elem.appendChild(doc.createTextNode(new Boolean(target.runAllBuilders()).toString()));
|
||||
targetElem.appendChild(elem);
|
||||
return targetElem;
|
||||
}
|
||||
|
||||
|
@ -379,6 +384,10 @@ public class ProjectTargets {
|
|||
if (option != null) {
|
||||
target.setBuildAttribute(IMakeTarget.BUILD_TARGET, option);
|
||||
}
|
||||
option = getString(node, TARGET_RUN_ALL_BUILDERS);
|
||||
if (option != null) {
|
||||
target.setRunAllBuilders(Boolean.valueOf(option).booleanValue());
|
||||
}
|
||||
add(target);
|
||||
} catch (CoreException e) {
|
||||
MakeCorePlugin.log(e);
|
||||
|
|
Loading…
Add table
Reference in a new issue