mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
This commit is contained in:
parent
21f4465862
commit
c30833b28f
1 changed files with 2 additions and 1 deletions
|
@ -80,12 +80,13 @@ public class TargetBuild {
|
|||
|
||||
static public void run(boolean fork, IRunnableContext context, final IMakeTarget[] targets) throws InvocationTargetException {
|
||||
try {
|
||||
saveAllResources(targets);
|
||||
|
||||
context.run(fork, true, new IRunnableWithProgress() {
|
||||
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
|
||||
try {
|
||||
IWorkspaceRunnable runnable = new IWorkspaceRunnable() {
|
||||
public void run(IProgressMonitor monitor) throws CoreException {
|
||||
saveAllResources(targets);
|
||||
monitor.beginTask("Building Targets...", targets.length);
|
||||
for( int i = 0; i < targets.length; i++) {
|
||||
targets[i].build(new SubProgressMonitor(monitor, 1));
|
||||
|
|
Loading…
Add table
Reference in a new issue