CMake/Tests/Framework/foo.cxx

11 lines
213 B
C++
Raw Normal View History

2007-05-08 18:58:35 +04:00
#include <stdio.h>
#if defined(_WIN32) && defined(foo_EXPORTS)
# define CM_TEST_LIB_EXPORT __declspec( dllexport )
2007-05-08 20:43:06 +04:00
#else
# define CM_TEST_LIB_EXPORT
#endif
CM_TEST_LIB_EXPORT void foo()
2007-05-08 18:58:35 +04:00
{
printf("foo\n");
}