CMake/Tests/Complex/Library/testConly.h

13 lines
308 B
C
Raw Normal View History

#if defined(_WIN32) || defined(WIN32) /* Win32 version */
2002-04-09 18:19:02 +04:00
#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();