blob: 830cbd5e81b8a8aa8ae29fd836cd608e86261791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#if defined(_WIN32) || defined(WIN32) /* Win32 version */
# ifdef CMakeTestLibraryShared_EXPORTS
# define CMakeTest_EXPORT __declspec(dllexport)
# else
# define CMakeTest_EXPORT __declspec(dllimport)
# endif
#else
/* unix needs nothing */
# define CMakeTest_EXPORT
#endif
CMakeTest_EXPORT int sharedFunction();
|