Added static build support to export macros
This commit is contained in:
@@ -16,11 +16,13 @@
|
|||||||
#define OSGMANIPULATOR_EXPORT_ 1
|
#define OSGMANIPULATOR_EXPORT_ 1
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
|
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
|
||||||
# ifdef OSGMANIPULATOR_LIBRARY
|
# if defined( OSG_LIBRARY_STATIC )
|
||||||
|
# define OSGMANIPULATOR_EXPORT
|
||||||
|
# elif defined( OSGMANIPULATOR_LIBRARY )
|
||||||
# define OSGMANIPULATOR_EXPORT __declspec(dllexport)
|
# define OSGMANIPULATOR_EXPORT __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
# define OSGMANIPULATOR_EXPORT __declspec(dllimport)
|
# define OSGMANIPULATOR_EXPORT __declspec(dllimport)
|
||||||
# endif /* OSGMANIPULATOR_LIBRARY */
|
# endif
|
||||||
#else
|
#else
|
||||||
# define OSGMANIPULATOR_EXPORT
|
# define OSGMANIPULATOR_EXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user