blob: 94e03592524179561cecbc97c6ed0326763975a0 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
/*******************************************************************************
* Copyright (c) 2000, 2010 QNX Software Systems and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* QNX Software Systems - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.make.core;
import org.eclipse.cdt.make.internal.core.MakeTargetManager;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
/**
* {@code IMakeTarget} represents a make target item in Make Targets View.
*
* @noextend This class is not intended to be subclassed by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IMakeTarget extends IAdaptable, IMakeCommonBuildInfo {
public final static String BUILD_TARGET = ARGS_PREFIX + ".build.target"; //$NON-NLS-1$
public String getName();
/**
* @noreference This method is not intended to be referenced by clients.
* Do not use this method to change target name, rather use {@link MakeTargetManager#renameTarget(IMakeTarget, String)}.
* This method is for internal use only.
*
* @since 7.0
*/
public void setName(String name);
public String getTargetBuilderID();
public IProject getProject();
/**
* Set build target
*
* @deprecated as of CDT 3.0
*/
@Deprecated
public void setBuildTarget(String target) throws CoreException;
/**
* @deprecated as of CDT 3.0
*
* @return build target
*/
@Deprecated
public String getBuildTarget();
public void setRunAllBuilders(boolean runAllBuilders) throws CoreException;
public boolean runAllBuilders();
/**
* Get the target build container.
*
* @return IContainer of where target build will be invoked.
*/
public IContainer getContainer();
/**
* Make this target temporary on the container, this target will not be persisted,
* and may not be added to the IMakeTargetManager.
*/
public void setContainer(IContainer container);
public void setAppendProjectEnvironment(boolean append);
public boolean appendProjectEnvironment();
public void build(IProgressMonitor monitor) throws CoreException;
}
|