xbot_driver/macros.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef XBOT_DRIVER_MACROS_HPP_
13 #define XBOT_DRIVER_MACROS_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #include <ecl/config/macros.hpp>
20 #include <ecl/config/ecl.hpp>
21 
22 /*****************************************************************************
23 ** Declspecs
24 *****************************************************************************/
25 
26 /*
27  * Import/exports symbols for the library
28  */
29 #ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries
30  #ifdef xbot_EXPORTS // we are building a shared lib/dll
31  #define xbot_PUBLIC ECL_HELPER_EXPORT
32  #define EXP_TEMPLATE
33  #else // we are using shared lib/dll
34  #define xbot_PUBLIC ECL_HELPER_IMPORT
35  #define EXP_TEMPLATE extern
36  #endif
37  #define xbot_LOCAL ECL_HELPERS_LOCAL
38 #else // ecl is being built around static libraries
39  #define xbot_PUBLIC
40  #define xbot_LOCAL
41  #define EXP_TEMPLATE
42 #endif
43 
44 #endif /* XBOT_DRIVER_MACROS_HPP_ */
Pre-processed macro definitions that define the target platform.


xbot_driver
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:27:37