sot-torque-control
1.6.5
Collection of dynamic-graph entities aimed at implementing torque control on different robots.
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 SOT_TORQUE_CONTROL_CONFIG_HH
7
# define SOT_TORQUE_CONTROL_CONFIG_HH
8
9
// Package version (header).
10
# define SOT_TORQUE_CONTROL_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown.
11
# define SOT_TORQUE_CONTROL_VERSION "1.6.5"
12
# define SOT_TORQUE_CONTROL_MAJOR_VERSION 1
13
# define SOT_TORQUE_CONTROL_MINOR_VERSION 6
14
# define SOT_TORQUE_CONTROL_PATCH_VERSION 5
15
16
#define SOT_TORQUE_CONTROL_VERSION_AT_LEAST(major, minor, patch) (SOT_TORQUE_CONTROL_MAJOR_VERSION>major || (SOT_TORQUE_CONTROL_MAJOR_VERSION>=major && \
17
(SOT_TORQUE_CONTROL_MINOR_VERSION>minor || (SOT_TORQUE_CONTROL_MINOR_VERSION>=minor && \
18
SOT_TORQUE_CONTROL_PATCH_VERSION>=patch))))
19
20
#define SOT_TORQUE_CONTROL_VERSION_AT_MOST(major, minor, patch) (SOT_TORQUE_CONTROL_MAJOR_VERSION<major || (SOT_TORQUE_CONTROL_MAJOR_VERSION<=major && \
21
(SOT_TORQUE_CONTROL_MINOR_VERSION<minor || (SOT_TORQUE_CONTROL_MINOR_VERSION<=minor && \
22
SOT_TORQUE_CONTROL_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
# if defined _WIN32 || defined __CYGWIN__
35
// On Microsoft Windows, use dllimport and dllexport to tag symbols.
36
# define SOT_TORQUE_CONTROL_DLLIMPORT __declspec(dllimport)
37
# define SOT_TORQUE_CONTROL_DLLEXPORT __declspec(dllexport)
38
# define SOT_TORQUE_CONTROL_DLLLOCAL
39
# else
40
// On Linux, for GCC >= 4, tag symbols using GCC extension.
41
# if __GNUC__ >= 4
42
# define SOT_TORQUE_CONTROL_DLLIMPORT __attribute__ ((visibility("default")))
43
# define SOT_TORQUE_CONTROL_DLLEXPORT __attribute__ ((visibility("default")))
44
# define SOT_TORQUE_CONTROL_DLLLOCAL __attribute__ ((visibility("hidden")))
45
# else
46
// Otherwise (GCC < 4 or another compiler is used), export everything.
47
# define SOT_TORQUE_CONTROL_DLLIMPORT
48
# define SOT_TORQUE_CONTROL_DLLEXPORT
49
# define SOT_TORQUE_CONTROL_DLLLOCAL
50
# endif // __GNUC__ >= 4
51
# endif // defined _WIN32 || defined __CYGWIN__
52
53
# ifdef SOT_TORQUE_CONTROL_STATIC
54
// If one is using the library statically, get rid of
55
// extra information.
56
# define SOT_TORQUE_CONTROL_DLLAPI
57
# define SOT_TORQUE_CONTROL_LOCAL
58
# else
59
// Depending on whether one is building or using the
60
// library define DLLAPI to import or export.
61
# ifdef sot_torque_control_EXPORTS
62
# define SOT_TORQUE_CONTROL_DLLAPI SOT_TORQUE_CONTROL_DLLEXPORT
63
# else
64
# define SOT_TORQUE_CONTROL_DLLAPI SOT_TORQUE_CONTROL_DLLIMPORT
65
# endif // SOT_TORQUE_CONTROL_EXPORTS
66
# define SOT_TORQUE_CONTROL_LOCAL SOT_TORQUE_CONTROL_DLLLOCAL
67
# endif // SOT_TORQUE_CONTROL_STATIC
68
#endif
include
sot
torque_control
config.hh
Generated by
1.8.17