|
|
|||
File indexing completed on 2025-12-16 10:10:08
0001 // boost/timer/config.hpp -----------------------------------------------------------// 0002 0003 // Copyright Beman Dawes 2003, 2006, 2011 0004 0005 // Distributed under the Boost Software License, Version 1.0. 0006 // See http://www.boost.org/LICENSE_1_0.txt 0007 0008 // See http://www.boost.org/libs/timer for documentation. 0009 0010 #ifndef BOOST_TIMER_CONFIG_HPP 0011 #define BOOST_TIMER_CONFIG_HPP 0012 0013 #include <boost/config.hpp> 0014 0015 // This header implements separate compilation features as described in 0016 // http://www.boost.org/more/separate_compilation.html 0017 0018 // enable dynamic or static linking as requested --------------------------------------// 0019 0020 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TIMER_DYN_LINK) 0021 # if defined(BOOST_TIMER_SOURCE) 0022 # define BOOST_TIMER_DECL BOOST_SYMBOL_EXPORT 0023 # else 0024 # define BOOST_TIMER_DECL BOOST_SYMBOL_IMPORT 0025 # endif 0026 #else 0027 # define BOOST_TIMER_DECL 0028 #endif 0029 0030 // enable automatic library variant selection ----------------------------------------// 0031 0032 #if !defined(BOOST_TIMER_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TIMER_NO_LIB) 0033 // 0034 // Set the name of our library, this will get undef'ed by auto_link.hpp 0035 // once it's done with it: 0036 // 0037 #define BOOST_LIB_NAME boost_timer 0038 // 0039 // If we're importing code from a dll, then tell auto_link.hpp about it: 0040 // 0041 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TIMER_DYN_LINK) 0042 # define BOOST_DYN_LINK 0043 #endif 0044 // 0045 // And include the header that does the work: 0046 // 0047 #include <boost/config/auto_link.hpp> 0048 0049 #endif // auto-linking disabled 0050 0051 #endif // BOOST_TIMER_CONFIG_HPP
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|