CMake/Tests/Framework/bar.cxx

12 lines
178 B
C++

#ifdef _WIN32
# define CM_TEST_LIB_IMPORT __declspec( dllimport )
#else
# define CM_TEST_LIB_IMPORT
#endif
CM_TEST_LIB_IMPORT void foo();
int main()
{
foo();
return 0;
}