CMake/Tests/RunCMake/CpsExportImportBuild/app.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
142 B
C

#include <stdio.h>
extern
#ifdef _WIN32
__declspec(dllimport)
#endif
int ask(void);
int main(void)
{
printf("%i\n", ask());
return 0;
}