Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:15

0001 //    Copyright (c) 2004 Hartmut Kaiser
0002 //
0003 //    Use, modification and distribution is subject to the Boost Software
0004 //    License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 //    http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef BOOST_PROGRAM_OPTIONS_CONFIG_HK_2004_01_11
0008 #define BOOST_PROGRAM_OPTIONS_CONFIG_HK_2004_01_11
0009 
0010 #include <boost/config.hpp>
0011 #include <boost/version.hpp>
0012 
0013 // Support for autolinking.
0014 #if BOOST_VERSION >= 103100   // works beginning from Boost V1.31.0
0015 
0016 ///////////////////////////////////////////////////////////////////////////////
0017 // enable automatic library variant selection 
0018 #if !defined(BOOST_PROGRAM_OPTIONS_SOURCE) && !defined(BOOST_ALL_NO_LIB) && \
0019     !defined(BOOST_PROGRAM_OPTIONS_NO_LIB)
0020 
0021 // Set the name of our library, this will get undef'ed by auto_link.hpp
0022 // once it's done with it:
0023 #define BOOST_LIB_NAME boost_program_options
0024 // tell the auto-link code to select a dll when required:
0025 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_PROGRAM_OPTIONS_DYN_LINK)
0026 #  define BOOST_DYN_LINK
0027 #endif
0028 
0029 // And include the header that does the work:
0030 #include <boost/config/auto_link.hpp>
0031 
0032 #endif  // auto-linking disabled
0033 
0034 #endif  // BOOST_VERSION
0035 
0036 ///////////////////////////////////////////////////////////////////////////////
0037 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_PROGRAM_OPTIONS_DYN_LINK)
0038 // export if this is our own source, otherwise import:
0039 #ifdef BOOST_PROGRAM_OPTIONS_SOURCE
0040 # define BOOST_PROGRAM_OPTIONS_DECL BOOST_SYMBOL_EXPORT
0041 #else
0042 # define BOOST_PROGRAM_OPTIONS_DECL BOOST_SYMBOL_IMPORT
0043 #endif  // BOOST_PROGRAM_OPTIONS_SOURCE
0044 #endif  // DYN_LINK
0045 
0046 #ifndef BOOST_PROGRAM_OPTIONS_DECL
0047 #define BOOST_PROGRAM_OPTIONS_DECL
0048 #endif
0049 
0050 
0051 #endif // PROGRAM_OPTIONS_CONFIG_HK_2004_01_11
0052