Go to the documentation of this file. 6 #ifndef GEPETTO_VIEWER_CONFIG_HH 7 # define GEPETTO_VIEWER_CONFIG_HH 10 # define GEPETTO_VIEWER_VERSION_UNKNOWN_TAG 0 // Used to mention that the current version is unknown. 11 # define GEPETTO_VIEWER_VERSION "4.9.0" 12 # define GEPETTO_VIEWER_MAJOR_VERSION 4 13 # define GEPETTO_VIEWER_MINOR_VERSION 9 14 # define GEPETTO_VIEWER_PATCH_VERSION 0 16 #define GEPETTO_VIEWER_VERSION_AT_LEAST(major, minor, patch) (GEPETTO_VIEWER_MAJOR_VERSION>major || (GEPETTO_VIEWER_MAJOR_VERSION>=major && \ 17 (GEPETTO_VIEWER_MINOR_VERSION>minor || (GEPETTO_VIEWER_MINOR_VERSION>=minor && \ 18 GEPETTO_VIEWER_PATCH_VERSION>=patch)))) 20 #define GEPETTO_VIEWER_VERSION_AT_MOST(major, minor, patch) (GEPETTO_VIEWER_MAJOR_VERSION<major || (GEPETTO_VIEWER_MAJOR_VERSION<=major && \ 21 (GEPETTO_VIEWER_MINOR_VERSION<minor || (GEPETTO_VIEWER_MINOR_VERSION<=minor && \ 22 GEPETTO_VIEWER_PATCH_VERSION<=patch)))) 34 # if defined _WIN32 || defined __CYGWIN__ 36 # define GEPETTO_VIEWER_DLLIMPORT __declspec(dllimport) 37 # define GEPETTO_VIEWER_DLLEXPORT __declspec(dllexport) 38 # define GEPETTO_VIEWER_DLLLOCAL 42 # define GEPETTO_VIEWER_DLLIMPORT __attribute__ ((visibility("default"))) 43 # define GEPETTO_VIEWER_DLLEXPORT __attribute__ ((visibility("default"))) 44 # define GEPETTO_VIEWER_DLLLOCAL __attribute__ ((visibility("hidden"))) 47 # define GEPETTO_VIEWER_DLLIMPORT 48 # define GEPETTO_VIEWER_DLLEXPORT 49 # define GEPETTO_VIEWER_DLLLOCAL 50 # endif // __GNUC__ >= 4 51 # endif // defined _WIN32 || defined __CYGWIN__ 53 # ifdef GEPETTO_VIEWER_STATIC 56 # define GEPETTO_VIEWER_DLLAPI 57 # define GEPETTO_VIEWER_LOCAL 61 # ifdef gepetto_viewer_EXPORTS 62 # define GEPETTO_VIEWER_DLLAPI GEPETTO_VIEWER_DLLEXPORT 64 # define GEPETTO_VIEWER_DLLAPI GEPETTO_VIEWER_DLLIMPORT 65 # endif // GEPETTO_VIEWER_EXPORTS 66 # define GEPETTO_VIEWER_LOCAL GEPETTO_VIEWER_DLLLOCAL 67 # endif // GEPETTO_VIEWER_STATIC