diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-31 13:48:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-31 13:48:09 +0200 |
commit | fa528a7ebafc9b5751deda05c02aec43a9a45ead (patch) | |
tree | e23a0e74592670b23c5df3c6b58895255aaad581 /cv/export.hpp | |
parent | ccafc5f054733e883bb0ef8b0c698b4c9c86fff9 (diff) |
tracker/{aruco, pt}, compat, api: move opencv camera class to cv module
Diffstat (limited to 'cv/export.hpp')
-rw-r--r-- | cv/export.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/cv/export.hpp b/cv/export.hpp new file mode 100644 index 00000000..6636e56b --- /dev/null +++ b/cv/export.hpp @@ -0,0 +1,28 @@ +#pragma once + +#ifdef BUILD_cv +# ifdef _WIN32 +# define OPENTRACK_CV_LINKAGE __declspec(dllexport) +# else +# define OPENTRACK_CV_LINKAGE +# endif + +# ifndef _MSC_VER +# define OPENTRACK_CV_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_CV_LINKAGE +# else +# define OPENTRACK_CV_EXPORT OPENTRACK_CV_LINKAGE +# endif + +#else + #ifdef _WIN32 + # define OPENTRACK_CV_LINKAGE __declspec(dllimport) + #else + # define OPENTRACK_CV_LINKAGE + #endif + + #ifndef _MSC_VER + # define OPENTRACK_CV_EXPORT __attribute__ ((visibility ("default"))) OPENTRACK_CV_LINKAGE + #else + # define OPENTRACK_CV_EXPORT OPENTRACK_CV_LINKAGE + #endif +#endif |