Go to the documentation of this file.
6 #ifndef DYNAMIC_GRAPH_TUTORIAL_CONFIG_HH
7 # define DYNAMIC_GRAPH_TUTORIAL_CONFIG_HH
10 # define DYNAMIC_GRAPH_TUTORIAL_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown.
11 # define DYNAMIC_GRAPH_TUTORIAL_VERSION "1.3.5"
12 # define DYNAMIC_GRAPH_TUTORIAL_MAJOR_VERSION 1
13 # define DYNAMIC_GRAPH_TUTORIAL_MINOR_VERSION 3
14 # define DYNAMIC_GRAPH_TUTORIAL_PATCH_VERSION 5
16 #define DYNAMIC_GRAPH_TUTORIAL_VERSION_AT_LEAST(major, minor, patch) (DYNAMIC_GRAPH_TUTORIAL_MAJOR_VERSION>major || (DYNAMIC_GRAPH_TUTORIAL_MAJOR_VERSION>=major && \
17 (DYNAMIC_GRAPH_TUTORIAL_MINOR_VERSION>minor || (DYNAMIC_GRAPH_TUTORIAL_MINOR_VERSION>=minor && \
18 DYNAMIC_GRAPH_TUTORIAL_PATCH_VERSION>=patch))))
20 #define DYNAMIC_GRAPH_TUTORIAL_VERSION_AT_MOST(major, minor, patch) (DYNAMIC_GRAPH_TUTORIAL_MAJOR_VERSION<major || (DYNAMIC_GRAPH_TUTORIAL_MAJOR_VERSION<=major && \
21 (DYNAMIC_GRAPH_TUTORIAL_MINOR_VERSION<minor || (DYNAMIC_GRAPH_TUTORIAL_MINOR_VERSION<=minor && \
22 DYNAMIC_GRAPH_TUTORIAL_PATCH_VERSION<=patch))))
34 # if defined _WIN32 || defined __CYGWIN__
36 # define DYNAMIC_GRAPH_TUTORIAL_DLLIMPORT __declspec(dllimport)
37 # define DYNAMIC_GRAPH_TUTORIAL_DLLEXPORT __declspec(dllexport)
38 # define DYNAMIC_GRAPH_TUTORIAL_DLLLOCAL
42 # define DYNAMIC_GRAPH_TUTORIAL_DLLIMPORT __attribute__ ((visibility("default")))
43 # define DYNAMIC_GRAPH_TUTORIAL_DLLEXPORT __attribute__ ((visibility("default")))
44 # define DYNAMIC_GRAPH_TUTORIAL_DLLLOCAL __attribute__ ((visibility("hidden")))
47 # define DYNAMIC_GRAPH_TUTORIAL_DLLIMPORT
48 # define DYNAMIC_GRAPH_TUTORIAL_DLLEXPORT
49 # define DYNAMIC_GRAPH_TUTORIAL_DLLLOCAL
50 # endif // __GNUC__ >= 4
51 # endif // defined _WIN32 || defined __CYGWIN__
53 # ifdef DYNAMIC_GRAPH_TUTORIAL_STATIC
56 # define DYNAMIC_GRAPH_TUTORIAL_DLLAPI
57 # define DYNAMIC_GRAPH_TUTORIAL_LOCAL
61 # ifdef dynamic_graph_tutorial_EXPORTS
62 # define DYNAMIC_GRAPH_TUTORIAL_DLLAPI DYNAMIC_GRAPH_TUTORIAL_DLLEXPORT
64 # define DYNAMIC_GRAPH_TUTORIAL_DLLAPI DYNAMIC_GRAPH_TUTORIAL_DLLIMPORT
65 # endif // DYNAMIC_GRAPH_TUTORIAL_EXPORTS
66 # define DYNAMIC_GRAPH_TUTORIAL_LOCAL DYNAMIC_GRAPH_TUTORIAL_DLLLOCAL
67 # endif // DYNAMIC_GRAPH_TUTORIAL_STATIC