BVB Source Codes

mars Show select_compiler_config.hpp Source code

Return Download mars: download select_compiler_config.hpp Source code - Download mars Source code - Type:.hpp
  1. //  Boost compiler configuration selection header file
  2.  
  3. //  (C) Copyright John Maddock 2001 - 2003.
  4. //  (C) Copyright Martin Wille 2003.
  5. //  (C) Copyright Guillaume Melquiond 2003.
  6. //
  7. //  Distributed under the Boost Software License, Version 1.0.
  8. //  (See accompanying file LICENSE_1_0.txt or copy at
  9. //   http://www.boost.org/LICENSE_1_0.txt)
  10.  
  11. //  See http://www.boost.org/ for most recent version.
  12.  
  13. // locate which compiler we are using and define
  14. // BOOST_COMPILER_CONFIG as needed:
  15.  
  16. #if defined __CUDACC__
  17. //  NVIDIA CUDA C++ compiler for GPU
  18. #   include "boost/config/compiler/nvcc.hpp"
  19.  
  20. #endif
  21.  
  22. #if defined(__GCCXML__)
  23. // GCC-XML emulates other compilers, it has to appear first here!
  24. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc_xml.hpp"
  25.  
  26. #elif defined(_CRAYC)
  27. // EDG based Cray compiler:
  28. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/cray.hpp"
  29.  
  30. #elif defined __COMO__
  31. //  Comeau C++
  32. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
  33.  
  34. #elif defined(__PATHSCALE__) && (__PATHCC__ >= 4)
  35. // PathScale EKOPath compiler (has to come before clang and gcc)
  36. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/pathscale.hpp"
  37.  
  38. #elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
  39. //  Intel
  40. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
  41.  
  42. #elif defined __clang__ && !defined(__CUDACC__) && !defined(__ibmxl__)
  43. // when using clang and cuda at same time, you want to appear as gcc
  44. //  Clang C++ emulates GCC, so it has to appear early.
  45. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/clang.hpp"
  46.  
  47. #elif defined __DMC__
  48. //  Digital Mars C++
  49. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/digitalmars.hpp"
  50.  
  51. # elif defined(__GNUC__) && !defined(__ibmxl__)
  52. //  GNU C++:
  53. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
  54.  
  55. #elif defined __KCC
  56. //  Kai C++
  57. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"
  58.  
  59. #elif defined __sgi
  60. //  SGI MIPSpro C++
  61. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp"
  62.  
  63. #elif defined __DECCXX
  64. //  Compaq Tru64 Unix cxx
  65. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp"
  66.  
  67. #elif defined __ghs
  68. //  Greenhills C++
  69. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp"
  70.  
  71. #elif defined __CODEGEARC__
  72. //  CodeGear - must be checked for before Borland
  73. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/codegear.hpp"
  74.  
  75. #elif defined __BORLANDC__
  76. //  Borland
  77. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"
  78.  
  79. #elif defined  __MWERKS__
  80. //  Metrowerks CodeWarrior
  81. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp"
  82.  
  83. #elif defined  __SUNPRO_CC
  84. //  Sun Workshop Compiler C++
  85. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sunpro_cc.hpp"
  86.  
  87. #elif defined __HP_aCC
  88. //  HP aCC
  89. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/hp_acc.hpp"
  90.  
  91. #elif defined(__MRC__) || defined(__SC__)
  92. //  MPW MrCpp or SCpp
  93. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/mpw.hpp"
  94.  
  95. #elif defined(__ibmxl__)
  96. // IBM XL C/C++ for Linux (Little Endian)
  97. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/xlcpp.hpp"
  98.  
  99. #elif defined(__IBMCPP__)
  100. //  IBM Visual Age or IBM XL C/C++ for Linux (Big Endian)
  101. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp"
  102.  
  103. #elif defined(__PGI)
  104. //  Portland Group Inc.
  105. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/pgi.hpp"
  106.  
  107. #elif defined _MSC_VER
  108. //  Microsoft Visual C++
  109. //
  110. //  Must remain the last #elif since some other vendors (Metrowerks, for
  111. //  example) also #define _MSC_VER
  112. #   define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp"
  113.  
  114. #elif defined (BOOST_ASSERT_CONFIG)
  115. // this must come last - generate an error if we don't
  116. // recognise the compiler:
  117. #  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)"
  118.  
  119. #endif
  120.  
  121. #if 0
  122. //
  123. // This section allows dependency scanners to find all the headers we *might* include:
  124. //
  125. #include "boost/config/compiler/gcc_xml.hpp"
  126. #include "boost/config/compiler/cray.hpp"
  127. #include "boost/config/compiler/comeau.hpp"
  128. #include "boost/config/compiler/pathscale.hpp"
  129. #include "boost/config/compiler/intel.hpp"
  130. #include "boost/config/compiler/clang.hpp"
  131. #include "boost/config/compiler/digitalmars.hpp"
  132. #include "boost/config/compiler/gcc.hpp"
  133. #include "boost/config/compiler/kai.hpp"
  134. #include "boost/config/compiler/sgi_mipspro.hpp"
  135. #include "boost/config/compiler/compaq_cxx.hpp"
  136. #include "boost/config/compiler/greenhills.hpp"
  137. #include "boost/config/compiler/codegear.hpp"
  138. #include "boost/config/compiler/borland.hpp"
  139. #include "boost/config/compiler/metrowerks.hpp"
  140. #include "boost/config/compiler/sunpro_cc.hpp"
  141. #include "boost/config/compiler/hp_acc.hpp"
  142. #include "boost/config/compiler/mpw.hpp"
  143. #include "boost/config/compiler/vacpp.hpp"
  144. #include "boost/config/compiler/pgi.hpp"
  145. #include "boost/config/compiler/visualc.hpp"
  146.  
  147. #endif
  148.  
  149.  
downloadselect_compiler_config.hpp Source code - Download mars Source code
Related Source Codes/Software:
Hero - Elegant transition library for iOS & tvOS 2017-06-09
deep-photo-styletransfer - Code and data for paper "Deep Photo Style Transfer... 2017-06-09
mastodon - A GNU Social-compatible microblogging server ... 2017-06-09
plyr - A simple HTML5, YouTube and Vimeo player ... 2017-06-08
prepack - Prepack is a partial evaluator for JavaScript. Pre... 2017-06-08
Public-APIs - 2017-06-09
lottie-ios - An iOS library to natively render After Effects ve... 2017-06-09
Awesome-Hacking - A collection of various awesome lists for hackers,... 2017-06-09
algorithms - Minimal examples of data structures and algorithms... 2017-06-10
lectures - Oxford Deep NLP 2017 course 2017-06-10
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top