Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 //  Use, modification and distribution are subject to the 
00007 //  Boost Software License, Version 1.0. (See accompanying file 
00008 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00009 
00010 //  See http://www.boost.org for most recent version.
00011 //
00012 //  Modified on 2004-03-28 for libsmbios by Michael Brown
00013 //    -- libsmbios only supports limited compiler and platform configs, so we
00014 //    have removed some of the compilers supported by boost. We can add a
00015 //    few back in if they are needed in the future (IBM, Metroworks, etc.)
00016 //
00017 //    To add new compiler back in, please copy the relevant lines from boost.
00018 
00019 
00020 // locate which compiler we are using and define
00021 // LIBSMBIOS_COMPILER_CONFIG as needed: 
00022 
00023 # if defined __GNUC__
00024 //  GNU C++:
00025 #   define LIBSMBIOS_COMPILER_CONFIG "smbios/config/compiler/gcc.hpp"
00026 
00027 #elif defined _MSC_VER
00028 //  Microsoft Visual C++
00029 //
00030 //  Must remain the last #elif since some other vendors (Metrowerks, for
00031 //  example) also #define _MSC_VER
00032 #   define LIBSMBIOS_COMPILER_CONFIG "smbios/config/compiler/visualc.hpp"
00033 
00034 #elif defined (LIBSMBIOS_ASSERT_CONFIG)
00035 // this must come last - generate an error if we don't
00036 // recognise the compiler:
00037 #  error "Unknown compiler - please report to libsmbios maintainer." 
00038 
00039 #endif

Generated on Wed Apr 11 16:25:10 2007 for SMBIOS Library by doxygen 1.3.5