blob: cd1622fb5b7e147ab90b86c0c2891f12adddd937 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/*******************************************************************************
* Copyright (c) 2000, 2004 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* QNX Software Systems - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.make.core;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
public interface IMakeTarget extends IAdaptable {
String getName();
String getTargetBuilderID();
boolean isStopOnError();
void setStopOnError(boolean stopOnError) throws CoreException;
boolean isDefaultBuildCmd();
void setUseDefaultBuildCmd(boolean useDefault) throws CoreException;
void setBuildTarget(String target) throws CoreException;
String getBuildTarget() ;
IPath getBuildCommand();
void setBuildCommand(IPath command) throws CoreException;
String getBuildArguments();
void setBuildArguments(String arguments) throws CoreException;
void setRunAllBuilders(boolean runAllBuilders);
boolean runAllBuilders();
/**
* Get the target build container.
*
* @return IContainer of where target build will be invoked.
*/
IContainer getContainer();
/**
* Make this target temporary on the container, this target will not be persisted,
* and may not be added to the IMakeTargetManager.
* @param container
*/
void setContainer(IContainer container);
void build(IProgressMonitor monitor) throws CoreException;
}
|