Files
CMake/Tests/RunCMake/CpsExportImportBuild/libb.c
Matthew Woehlke c8ccd5a9e3 export: Add build-tree CPS support
Add Common Package Specification support to export(EXPORT).
2025-02-25 15:42:23 -05:00

14 lines
149 B
C

extern
#ifdef _WIN32
__declspec(dllimport)
#endif
int answer(void);
#ifdef _WIN32
__declspec(dllexport)
#endif
int ask(void)
{
return answer();
}