2001-08-23 21:57:45 +04:00
|
|
|
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
|
|
|
|
#ifdef CMakeTestLibraryShared_EXPORTS
|
2016-05-16 17:34:04 +03:00
|
|
|
#define CMakeTest_EXPORT __declspec(dllexport)
|
2001-08-23 21:57:45 +04:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#define CMakeTest_EXPORT __declspec(dllimport)
|
2001-08-23 21:57:45 +04:00
|
|
|
#endif
|
|
|
|
#else
|
2002-04-09 17:37:37 +04:00
|
|
|
/* unix needs nothing */
|
2001-08-23 21:57:45 +04:00
|
|
|
#define CMakeTest_EXPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
CMakeTest_EXPORT int sharedFunction();
|