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