| /******************************************************************************* |
| * Copyright (c) 2012, 2012 Andrew Gvozdev 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: |
| * Andrew Gvozdev - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.cdt.managedbuilder.internal.language.settings.providers; |
| |
| import org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector; |
| |
| /** |
| * Class to detect built-in compiler settings for MinGW toolchain. |
| */ |
| public class GCCBuiltinSpecsDetectorMinGW extends GCCBuiltinSpecsDetector { |
| // ID must match the tool-chain definition in org.eclipse.cdt.managedbuilder.core.buildDefinitions extension point |
| private static final String GCC_TOOLCHAIN_ID_MINGW = "cdt.managedbuild.toolchain.gnu.mingw.base"; //$NON-NLS-1$ |
| |
| @Override |
| public String getToolchainId() { |
| return GCC_TOOLCHAIN_ID_MINGW; |
| } |
| |
| @Override |
| public GCCBuiltinSpecsDetectorMinGW cloneShallow() throws CloneNotSupportedException { |
| return (GCCBuiltinSpecsDetectorMinGW) super.cloneShallow(); |
| } |
| |
| @Override |
| public GCCBuiltinSpecsDetectorMinGW clone() throws CloneNotSupportedException { |
| return (GCCBuiltinSpecsDetectorMinGW) super.clone(); |
| } |
| |
| } |