Chris@16: // boost/timer/config.hpp -----------------------------------------------------------// Chris@16: Chris@16: // Copyright Beman Dawes 2003, 2006, 2011 Chris@16: Chris@16: // Distributed under the Boost Software License, Version 1.0. Chris@16: // See http://www.boost.org/LICENSE_1_0.txt Chris@16: Chris@16: // See http://www.boost.org/libs/timer for documentation. Chris@16: Chris@16: #ifndef BOOST_TIMER_CONFIG_HPP Chris@16: #define BOOST_TIMER_CONFIG_HPP Chris@16: Chris@16: #include Chris@16: Chris@16: #include Chris@16: Chris@16: // This header implements separate compilation features as described in Chris@16: // http://www.boost.org/more/separate_compilation.html Chris@16: Chris@16: // enable dynamic or static linking as requested --------------------------------------// Chris@16: Chris@16: #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TIMER_DYN_LINK) Chris@16: # if defined(BOOST_TIMER_SOURCE) Chris@16: # define BOOST_TIMER_DECL BOOST_SYMBOL_EXPORT Chris@16: # else Chris@16: # define BOOST_TIMER_DECL BOOST_SYMBOL_IMPORT Chris@16: # endif Chris@16: #else Chris@16: # define BOOST_TIMER_DECL Chris@16: #endif Chris@16: Chris@16: // enable automatic library variant selection ----------------------------------------// Chris@16: Chris@16: #if !defined(BOOST_TIMER_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TIMER_NO_LIB) Chris@16: // Chris@16: // Set the name of our library, this will get undef'ed by auto_link.hpp Chris@16: // once it's done with it: Chris@16: // Chris@16: #define BOOST_LIB_NAME boost_timer Chris@16: // Chris@16: // If we're importing code from a dll, then tell auto_link.hpp about it: Chris@16: // Chris@16: #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TIMER_DYN_LINK) Chris@16: # define BOOST_DYN_LINK Chris@16: #endif Chris@16: // Chris@16: // And include the header that does the work: Chris@16: // Chris@16: #include Chris@16: #endif // auto-linking disabled Chris@16: Chris@16: #endif // BOOST_TIMER_CONFIG_HPP Chris@16: