diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/ICBuildConfiguration.java')
-rw-r--r-- | core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/ICBuildConfiguration.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/ICBuildConfiguration.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/ICBuildConfiguration.java new file mode 100644 index 00000000000..807bd997a94 --- /dev/null +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/ICBuildConfiguration.java @@ -0,0 +1,44 @@ +/******************************************************************************* + * Copyright (c) 2016 QNX Software Systems and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + *******************************************************************************/ +package org.eclipse.cdt.core.build; + +import org.eclipse.cdt.core.envvar.IEnvironmentVariable; +import org.eclipse.cdt.core.parser.IScannerInfoProvider; +import org.eclipse.core.resources.IBuildConfiguration; +import org.eclipse.core.runtime.IAdaptable; + +/** + * This is the root interface for "new style" CDT build configurations. Adapting + * IBuildConfiguration to this interface will get you one of these. From here, + * adapt to the specific interface that you need and the configuration will + * provide one. + * + * @since 6.0 + */ +public interface ICBuildConfiguration extends IAdaptable, IScannerInfoProvider { + + /** + * Returns the resources build configuration that this CDT build + * configuration is associated with. + * + * @return resources build configuration + */ + IBuildConfiguration getBuildConfiguration(); + + /** + * Build Configurations are configurations for a given toolchain. + * + * @return the toolchain for this build configuration + */ + IToolChain getToolChain(); + + IEnvironmentVariable getVariable(String name); + + IEnvironmentVariable[] getVariables(); + +} |