hpp_tutorial: include/hpp/tutorial/config.hh Source File

hpp_tutorial 9.0.2 Tutorial for humanoid path planner platform.

config.hh
Go to the documentation of this file.
1 /*
2 * This file has been automatically generated by the jrl-cmakemodules.
3 * Please see https://github.com/jrl-umi3218/jrl-cmakemodules/blob/master/config.hh.cmake for details.
4 */
5
6 #ifndef HPP_TUTORIAL_CONFIG_HH
7 # define HPP_TUTORIAL_CONFIG_HH
8
9 // Package version (header).
10 # define HPP_TUTORIAL_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown.
11 # define HPP_TUTORIAL_VERSION "9.0.2"
12 # define HPP_TUTORIAL_MAJOR_VERSION 9
13 # define HPP_TUTORIAL_MINOR_VERSION 0
14 # define HPP_TUTORIAL_PATCH_VERSION 2
15
16 #define HPP_TUTORIAL_VERSION_AT_LEAST(major, minor, patch) (HPP_TUTORIAL_MAJOR_VERSION>major || (HPP_TUTORIAL_MAJOR_VERSION>=major && \
17 (HPP_TUTORIAL_MINOR_VERSION>minor || (HPP_TUTORIAL_MINOR_VERSION>=minor && \
18 HPP_TUTORIAL_PATCH_VERSION>=patch))))
19
20 #define HPP_TUTORIAL_VERSION_AT_MOST(major, minor, patch) (HPP_TUTORIAL_MAJOR_VERSION<major || (HPP_TUTORIAL_MAJOR_VERSION<=major && \
21 (HPP_TUTORIAL_MINOR_VERSION<minor || (HPP_TUTORIAL_MINOR_VERSION<=minor && \
22 HPP_TUTORIAL_PATCH_VERSION<=patch))))
23
24 // Handle portable symbol export.
25 // Defining manually which symbol should be exported is required
26 // under Windows whether MinGW or MSVC is used.
27 //
28 // The headers then have to be able to work in two different modes:
29 // - dllexport when one is building the library,
30 // - dllimport for clients using the library.
31 //
32 // On Linux, set the visibility accordingly. If C++ symbol visibility
33 // is handled by the compiler, see: http://gcc.gnu.org/wiki/Visibility
34 //
35 // Explicit template instantiation on Windows need to add
36 // dllexport on the definition and dllimport on the declaration.
37 // The XXX_EXPLICIT_INSTANTIATION_DECLARATION_DLLAPI macro
38 // should be set on the declaration while
39 // the XXX_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI macro
40 // should be set on the definition.
41 # if defined _WIN32 || defined __CYGWIN__
42 // On Microsoft Windows, use dllimport and dllexport to tag symbols.
43 # define HPP_TUTORIAL_DLLIMPORT __declspec(dllimport)
44 # define HPP_TUTORIAL_DLLEXPORT __declspec(dllexport)
45 # define HPP_TUTORIAL_DLLLOCAL
46 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLIMPORT __declspec(dllimport)
47 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLEXPORT
48 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLIMPORT __declspec(dllimport)
49 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLEXPORT __declspec(dllexport)
50 # else
51 // On Linux, for GCC >= 4, tag symbols using GCC extension.
52 # if __GNUC__ >= 4
53 # define HPP_TUTORIAL_DLLIMPORT __attribute__ ((visibility("default")))
54 # define HPP_TUTORIAL_DLLEXPORT __attribute__ ((visibility("default")))
55 # define HPP_TUTORIAL_DLLLOCAL __attribute__ ((visibility("hidden")))
56 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLIMPORT __attribute__ ((visibility("default")))
57 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLEXPORT __attribute__ ((visibility("default")))
58 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLIMPORT
59 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLEXPORT
60 # else
61 // Otherwise (GCC < 4 or another compiler is used), export everything.
62 # define HPP_TUTORIAL_DLLIMPORT
63 # define HPP_TUTORIAL_DLLEXPORT
64 # define HPP_TUTORIAL_DLLLOCAL
65 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLIMPORT
66 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLEXPORT
67 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLIMPORT
68 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLEXPORT
69 # endif // __GNUC__ >= 4
70 # endif // defined _WIN32 || defined __CYGWIN__
71
72 # ifdef HPP_TUTORIAL_STATIC
73 // If one is using the library statically, get rid of
74 // extra information and use standard explicit template
75 // instantiation keyword.
76 # define HPP_TUTORIAL_DLLAPI
77 # define HPP_TUTORIAL_LOCAL
78 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION extern template
79 # else
80 // Depending on whether one is building or using the
81 // library define DLLAPI to import or export and
82 // define the right explicit template instantiation keyword.
83 # ifdef hpp_tutorial_EXPORTS
84 # define HPP_TUTORIAL_DLLAPI HPP_TUTORIAL_DLLEXPORT
85 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLAPI HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLEXPORT
86 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLEXPORT
87 # else
88 # define HPP_TUTORIAL_DLLAPI HPP_TUTORIAL_DLLIMPORT
89 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLAPI HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DECLARATION_DLLIMPORT
90 # define HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI HPP_TUTORIAL_EXPLICIT_INSTANTIATION_DEFINITION_DLLIMPORT
91 # endif // HPP_TUTORIAL_EXPORTS
92 # define HPP_TUTORIAL_LOCAL HPP_TUTORIAL_DLLLOCAL
93 # endif // HPP_TUTORIAL_STATIC
94 #endif