All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.antcontrib.cpptasks.CompilerEnum Maven / Gradle / Ivy

Go to download

Third-party release of net.sf.antcontrib:cpptasks-parallel:1.0-beta-5-parallel-1-SNAPSHOT.

The newest version!
/*
 * 
 * Copyright 2002-2008 The Ant-Contrib project
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package net.sf.antcontrib.cpptasks;
import net.sf.antcontrib.cpptasks.arm.ADSCCompiler;
import net.sf.antcontrib.cpptasks.borland.BorlandCCompiler;
import net.sf.antcontrib.cpptasks.borland.BorlandResourceCompiler;
import net.sf.antcontrib.cpptasks.compaq.CompaqVisualFortranCompiler;
import net.sf.antcontrib.cpptasks.compiler.Compiler;
import net.sf.antcontrib.cpptasks.devstudio.DevStudioCCompiler;
import net.sf.antcontrib.cpptasks.devstudio.DevStudioMIDLCompiler;
import net.sf.antcontrib.cpptasks.devstudio.DevStudio2005CCompiler;
import net.sf.antcontrib.cpptasks.devstudio.DevStudioResourceCompiler;
import net.sf.antcontrib.cpptasks.gcc.GccCCompiler;
import net.sf.antcontrib.cpptasks.gcc.WindresResourceCompiler;
import net.sf.antcontrib.cpptasks.hp.aCCCompiler;
import net.sf.antcontrib.cpptasks.ibm.VisualAgeCCompiler;
import net.sf.antcontrib.cpptasks.intel.IntelLinux32CCompiler;
import net.sf.antcontrib.cpptasks.intel.IntelLinux32Compiler;
import net.sf.antcontrib.cpptasks.intel.IntelLinux64CCompiler;
import net.sf.antcontrib.cpptasks.intel.IntelLinux64Compiler;
import net.sf.antcontrib.cpptasks.intel.IntelLinuxFortranCompiler;
import net.sf.antcontrib.cpptasks.intel.IntelWin32CCompiler;
import net.sf.antcontrib.cpptasks.intel.IntelWin64CCompiler;
import net.sf.antcontrib.cpptasks.mozilla.XpidlCompiler;
import net.sf.antcontrib.cpptasks.openwatcom.OpenWatcomCCompiler;
import net.sf.antcontrib.cpptasks.openwatcom.OpenWatcomFortranCompiler;
import net.sf.antcontrib.cpptasks.os390.OS390CCompiler;
import net.sf.antcontrib.cpptasks.os400.IccCompiler;
import net.sf.antcontrib.cpptasks.sun.C89CCompiler;
import net.sf.antcontrib.cpptasks.sun.ForteCCCompiler;
import net.sf.antcontrib.cpptasks.sun.ForteCCompiler;
import net.sf.antcontrib.cpptasks.sun.ForteF77Compiler;
import net.sf.antcontrib.cpptasks.ti.ClxxCCompiler;
import net.sf.antcontrib.cpptasks.trolltech.MetaObjectCompiler;
import net.sf.antcontrib.cpptasks.trolltech.UserInterfaceCompiler;

import org.apache.tools.ant.types.EnumeratedAttribute;
/**
 * Enumeration of supported compilers
 * 
 * Supported compilers 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 *      * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
gcc (default)GCC C++ compiler
g++GCC C++ compiler
c++GCC C++ compiler
g77GNU FORTRAN compiler
msvcMicrosoft Visual C++
msvc8Microsoft Visual C++ 8
bccBorland C++ Compiler
msrcMicrosoft Resource Compiler
brcBorland Resource Compiler
dfCompaq Visual Fortran Compiler
midlMicrosoft MIDL Compiler
iclIntel C++ compiler for Windows (IA-32)
eclIntel C++ compiler for Windows (IA-64)
iccIntel C++ compiler for Linux (IA-32)
ifortIntel Fortran compiler for Linux (IA-32)
eccIntel C++ compiler for Linux (IA-64)
CCSun ONE C++ compiler
aCCHP aC++ C++ Compiler
os390OS390 C Compiler
os400Icc Compiler
sunc89Sun C89 C Compiler
xlCVisualAge C Compiler
cl6xTI TMS320C6000 Optimizing Compiler
cl55TI TMS320C55x Optimizing C/C++ Compiler
armcppARM 32-bit C++ compiler
armccARM 32-bit C compiler
tcppARM 16-bit C++ compiler
tccARM 16-bit C compiler
uicQt user interface compiler
mocQt meta-object compiler
xpidlMozilla xpidl compiler (creates .h and .xpt files).
wclOpenWatcom C/C++ compiler (experimental)
wflOpenWatcom FORTRAN compiler (experimental)
windresGNU windres resource compiler
* * @author Curt Arnold * */ public class CompilerEnum extends EnumeratedAttribute { private final static ProcessorEnumValue[] compilers = new ProcessorEnumValue[]{ new ProcessorEnumValue("gcc", GccCCompiler.getInstance()), new ProcessorEnumValue("g++", GccCCompiler.getGppInstance()), new ProcessorEnumValue("c++", GccCCompiler.getCppInstance()), new ProcessorEnumValue("g77", GccCCompiler.getG77Instance()), // FREEHEP new ProcessorEnumValue("gfortran", GccCCompiler.getGFortranInstance()), new ProcessorEnumValue("msvc", DevStudioCCompiler.getInstance()), new ProcessorEnumValue("msvc8", DevStudio2005CCompiler.getInstance()), new ProcessorEnumValue("bcc", BorlandCCompiler.getInstance()), new ProcessorEnumValue("msrc", DevStudioResourceCompiler .getInstance()), new ProcessorEnumValue("brc", BorlandResourceCompiler.getInstance()), new ProcessorEnumValue("df", CompaqVisualFortranCompiler .getInstance()), new ProcessorEnumValue("midl", DevStudioMIDLCompiler.getInstance()), new ProcessorEnumValue("icl", IntelWin32CCompiler.getInstance()), new ProcessorEnumValue("ecl", IntelWin64CCompiler.getInstance()), // BEGINFREEHEP new ProcessorEnumValue("icc", IntelLinux32CCompiler.getInstance()), new ProcessorEnumValue("ecc", IntelLinux64CCompiler.getInstance()), new ProcessorEnumValue("icpc", IntelLinux32Compiler.getInstance()), new ProcessorEnumValue("ecpc", IntelLinux64Compiler.getInstance()), new ProcessorEnumValue("ifort", IntelLinuxFortranCompiler.getInstance()), // ENDFREEHEP new ProcessorEnumValue("CC", ForteCCCompiler.getInstance()), // BEGINFREEHEP new ProcessorEnumValue("suncc", ForteCCompiler.getInstance()), new ProcessorEnumValue("sunf77", ForteF77Compiler.getInstance()), // ENDFREEHEP new ProcessorEnumValue("aCC", aCCCompiler.getInstance()), new ProcessorEnumValue("os390", OS390CCompiler.getInstance()), new ProcessorEnumValue("os400", IccCompiler.getInstance()), new ProcessorEnumValue("sunc89", C89CCompiler.getInstance()), new ProcessorEnumValue("xlC", VisualAgeCCompiler.getInstance()), new ProcessorEnumValue("cl6x", ClxxCCompiler.getCl6xInstance()), new ProcessorEnumValue("cl55", ClxxCCompiler.getCl55Instance()), new ProcessorEnumValue("armcc", ADSCCompiler.getArmCC()), new ProcessorEnumValue("armcpp", ADSCCompiler.getArmCpp()), new ProcessorEnumValue("tcc", ADSCCompiler.getThumbCC()), new ProcessorEnumValue("tcpp", ADSCCompiler.getThumbCpp()), // GCC Cross Compilers new ProcessorEnumValue( "sparc-sun-solaris2-gcc", net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.GccCCompiler .getInstance()), new ProcessorEnumValue( "sparc-sun-solaris2-g++", net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.GccCCompiler .getGppInstance()), new ProcessorEnumValue( "sparc-sun-solaris2-c++", net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.GccCCompiler .getCppInstance()), new ProcessorEnumValue( "sparc-sun-solaris2-g77", net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.GccCCompiler .getG77Instance()), // GCC Cross Compilers new ProcessorEnumValue("gcc-cross", net.sf.antcontrib.cpptasks.gcc.cross.GccCCompiler .getInstance()), new ProcessorEnumValue("g++-cross", net.sf.antcontrib.cpptasks.gcc.cross.GccCCompiler .getGppInstance()), new ProcessorEnumValue("c++-cross", net.sf.antcontrib.cpptasks.gcc.cross.GccCCompiler .getCppInstance()), new ProcessorEnumValue("g77-cross", net.sf.antcontrib.cpptasks.gcc.cross.GccCCompiler .getG77Instance()), new ProcessorEnumValue("uic", UserInterfaceCompiler.getInstance()), new ProcessorEnumValue("moc", MetaObjectCompiler.getInstance()), new ProcessorEnumValue("xpidl", XpidlCompiler.getInstance()), new ProcessorEnumValue("wcl", OpenWatcomCCompiler.getInstance()), new ProcessorEnumValue("wfl", OpenWatcomFortranCompiler.getInstance()), new ProcessorEnumValue("windres", WindresResourceCompiler.getInstance()) }; public Compiler getCompiler() { return (Compiler) compilers[getIndex()].getProcessor(); } public String[] getValues() { return ProcessorEnumValue.getValues(compilers); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy