CMake/Tests/RunCMake/Ninja/SubDirPrefix/greeting.c

10 lines
152 B
C

#include <stdio.h>
#if defined(_WIN32) && !defined(GREETING_STATIC)
__declspec(dllexport)
#endif
void greeting(void)
{
printf("Hello world!\n");
}