CMake/Tests/Complex/Library/sharedFile.h

13 lines
307 B
C
Raw Normal View History

2001-08-23 21:57:45 +04:00
#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();