Chris@16
|
1 // boost/timer/config.hpp -----------------------------------------------------------//
|
Chris@16
|
2
|
Chris@16
|
3 // Copyright Beman Dawes 2003, 2006, 2011
|
Chris@16
|
4
|
Chris@16
|
5 // Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
6 // See http://www.boost.org/LICENSE_1_0.txt
|
Chris@16
|
7
|
Chris@16
|
8 // See http://www.boost.org/libs/timer for documentation.
|
Chris@16
|
9
|
Chris@16
|
10 #ifndef BOOST_TIMER_CONFIG_HPP
|
Chris@16
|
11 #define BOOST_TIMER_CONFIG_HPP
|
Chris@16
|
12
|
Chris@16
|
13 #include <boost/config.hpp>
|
Chris@16
|
14
|
Chris@16
|
15 #include <boost/system/api_config.hpp>
|
Chris@16
|
16
|
Chris@16
|
17 // This header implements separate compilation features as described in
|
Chris@16
|
18 // http://www.boost.org/more/separate_compilation.html
|
Chris@16
|
19
|
Chris@16
|
20 // enable dynamic or static linking as requested --------------------------------------//
|
Chris@16
|
21
|
Chris@16
|
22 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TIMER_DYN_LINK)
|
Chris@16
|
23 # if defined(BOOST_TIMER_SOURCE)
|
Chris@16
|
24 # define BOOST_TIMER_DECL BOOST_SYMBOL_EXPORT
|
Chris@16
|
25 # else
|
Chris@16
|
26 # define BOOST_TIMER_DECL BOOST_SYMBOL_IMPORT
|
Chris@16
|
27 # endif
|
Chris@16
|
28 #else
|
Chris@16
|
29 # define BOOST_TIMER_DECL
|
Chris@16
|
30 #endif
|
Chris@16
|
31
|
Chris@16
|
32 // enable automatic library variant selection ----------------------------------------//
|
Chris@16
|
33
|
Chris@16
|
34 #if !defined(BOOST_TIMER_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TIMER_NO_LIB)
|
Chris@16
|
35 //
|
Chris@16
|
36 // Set the name of our library, this will get undef'ed by auto_link.hpp
|
Chris@16
|
37 // once it's done with it:
|
Chris@16
|
38 //
|
Chris@16
|
39 #define BOOST_LIB_NAME boost_timer
|
Chris@16
|
40 //
|
Chris@16
|
41 // If we're importing code from a dll, then tell auto_link.hpp about it:
|
Chris@16
|
42 //
|
Chris@16
|
43 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TIMER_DYN_LINK)
|
Chris@16
|
44 # define BOOST_DYN_LINK
|
Chris@16
|
45 #endif
|
Chris@16
|
46 //
|
Chris@16
|
47 // And include the header that does the work:
|
Chris@16
|
48 //
|
Chris@16
|
49 #include <boost/config/auto_link.hpp>
|
Chris@16
|
50 #endif // auto-linking disabled
|
Chris@16
|
51
|
Chris@16
|
52 #endif // BOOST_TIMER_CONFIG_HPP
|
Chris@16
|
53
|