CMake/Tests/Framework/foo.cxx

11 lines
205 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)
#else
#define CM_TEST_LIB_EXPORT
#endif
CM_TEST_LIB_EXPORT void foo()
2007-05-08 18:58:35 +04:00
{
printf("foo\n");
}