select_compiler_config.hpp
Go to the documentation of this file.
00001 //  Boost compiler configuration selection header file
00002 
00003 //  (C) Copyright John Maddock 2001 - 2003. 
00004 //  (C) Copyright Martin Wille 2003.
00005 //  (C) Copyright Guillaume Melquiond 2003.
00006 //
00007 //  Distributed under the Boost Software License, Version 1.0.
00008 //  (See accompanying file LICENSE_1_0.txt or copy at
00009 //   http://www.boost.org/LICENSE_1_0.txt)
00010 
00011 //  See http://www.boost.org/ for most recent version.
00012 
00013 
00014 // one identification macro for each of the
00015 // compilers we support:
00016 
00017 #   define BOOST_CXX_GCCXML   0
00018 #   define BOOST_CXX_COMO     0
00019 #   define BOOST_CXX_DMC      0
00020 #   define BOOST_CXX_INTEL    0
00021 #   define BOOST_CXX_GNUC     0
00022 #   define BOOST_CXX_KCC      0
00023 #   define BOOST_CXX_SGI      0
00024 #   define BOOST_CXX_TRU64    0
00025 #   define BOOST_CXX_GHS      0
00026 #   define BOOST_CXX_BORLAND  0
00027 #   define BOOST_CXX_CW       0
00028 #   define BOOST_CXX_SUNPRO   0
00029 #   define BOOST_CXX_HPACC    0
00030 #   define BOOST_CXX_MPW      0
00031 #   define BOOST_CXX_IBMCPP   0
00032 #   define BOOST_CXX_MSVC     0
00033 #   define BOOST_CXX_PGI      0
00034 
00035 
00036 // locate which compiler we are using and define
00037 // BOOST_COMPILER_CONFIG as needed: 
00038 
00039 #if defined(__GCCXML__)
00040 // GCC-XML emulates other compilers, it has to appear first here!
00041 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"
00042 
00043 #elif defined __COMO__
00044 //  Comeau C++
00045 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
00046 
00047 #elif defined __DMC__
00048 //  Digital Mars C++
00049 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"
00050 
00051 #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
00052 //  Intel
00053 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
00054 
00055 # elif defined __GNUC__
00056 //  GNU C++:
00057 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
00058 
00059 #elif defined __KCC
00060 //  Kai C++
00061 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"
00062 
00063 #elif defined __sgi
00064 //  SGI MIPSpro C++
00065 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp"
00066 
00067 #elif defined __DECCXX
00068 //  Compaq Tru64 Unix cxx
00069 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp"
00070 
00071 #elif defined __ghs
00072 //  Greenhills C++
00073 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp"
00074 
00075 #elif defined __CODEGEARC__
00076 //  CodeGear - must be checked for before Borland
00077 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/codegear.hpp"
00078 
00079 #elif defined __BORLANDC__
00080 //  Borland
00081 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"
00082 
00083 #elif defined  __MWERKS__
00084 //  Metrowerks CodeWarrior
00085 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp"
00086 
00087 #elif defined  __SUNPRO_CC
00088 //  Sun Workshop Compiler C++
00089 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sunpro_cc.hpp"
00090 
00091 #elif defined __HP_aCC
00092 //  HP aCC
00093 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/hp_acc.hpp"
00094 
00095 #elif defined(__MRC__) || defined(__SC__)
00096 //  MPW MrCpp or SCpp
00097 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/mpw.hpp"
00098 
00099 #elif defined(__IBMCPP__)
00100 //  IBM Visual Age
00101 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp"
00102 
00103 #elif defined(__PGI)
00104 //  Portland Group Inc.
00105 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/pgi.hpp"
00106 
00107 #elif defined _MSC_VER
00108 //  Microsoft Visual C++
00109 //
00110 //  Must remain the last #elif since some other vendors (Metrowerks, for
00111 //  example) also #define _MSC_VER
00112 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp"
00113 
00114 #elif defined (BOOST_ASSERT_CONFIG)
00115 // this must come last - generate an error if we don't
00116 // recognise the compiler:
00117 #  error "Unknown compiler - please configure (http://www.boost.org/libs/config/config.htm#configuring) and report the results to the main boost mailing list (http://www.boost.org/more/mailing_lists.htm#main)"
00118 
00119 #endif


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29