CMake/Tests/Framework/foo.cxx

11 lines
183 B
C++

#include <stdio.h>
#ifdef _WIN32
# define CM_TEST_LIB_EXPORT __declspec( dllexport )
#else
# define CM_TEST_LIB_EXPORT
#endif
CM_TEST_LIB_EXPORT void foo()
{
printf("foo\n");
}