summaryrefslogtreecommitdiff
path: root/Tests/ComplexOneConfig/Library/sharedFile.h
blob: 65ac2e2ba8e6ad25e5e5438dca00660b1086b949 (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();