CMake/Tests/OutOfSource/OutOfSourceSubdir/testlib.h

12 lines
225 B
C

#ifdef _WIN32
#ifdef testlib_EXPORTS
#define CM_TEST_LIB_EXPORT __declspec(dllexport)
#else
#define CM_TEST_LIB_EXPORT __declspec(dllimport)
#endif
#else
#define CM_TEST_LIB_EXPORT
#endif
CM_TEST_LIB_EXPORT float TestLib();