Kobuki 1.0.0
C++ API for the Kobuki research robot
Loading...
Searching...
No Matches
macros.hpp
Go to the documentation of this file.
1
9/*****************************************************************************
10** Ifdefs
11*****************************************************************************/
12
13#ifndef KOBUKI_CORE_MACROS_HPP_
14#define KOBUKI_CORE_MACROS_HPP_
15
16/*****************************************************************************
17** Includes
18*****************************************************************************/
19
20#include <ecl/config/macros.hpp>
21#include <ecl/config/ecl.hpp>
22
23/*****************************************************************************
24** Declspecs
25*****************************************************************************/
26
27/*
28 * Import/exports symbols for the library
29 */
30#ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries
31 #ifdef kobuki_EXPORTS // we are building a shared lib/dll
32 #define kobuki_PUBLIC ECL_HELPER_EXPORT
33 #define EXP_TEMPLATE
34 #else // we are using shared lib/dll
35 #define kobuki_PUBLIC ECL_HELPER_IMPORT
36 #define EXP_TEMPLATE extern
37 #endif
38 #define kobuki_LOCAL ECL_HELPERS_LOCAL
39#else // ecl is being built around static libraries
40 #define kobuki_PUBLIC
41 #define kobuki_LOCAL
42 #define EXP_TEMPLATE
43#endif
44
45#endif /* KOBUKI_CORE_MACROS_HPP_ */