mirror of
https://github.com/reactos/CMake.git
synced 2025-01-13 06:50:42 +00:00
e3b1bdb058
- Imported bundles have the MACOSX_BUNDLE property set - Added cmTarget::IsAppBundleOnApple method to simplify checks - Document BUNDLE keyword in INSTALL command - Updated IMPORTED_LOCATION property documentation for bundles - Updated ExportImport test to test bundles
25 lines
395 B
C
25 lines
395 B
C
#include <stdio.h>
|
|
|
|
int main(int argc, const char* argv[])
|
|
{
|
|
if(argc < 2)
|
|
{
|
|
fprintf(stderr, "Must specify output file.\n");
|
|
return 1;
|
|
}
|
|
{
|
|
FILE* f = fopen(argv[1], "w");
|
|
if(f)
|
|
{
|
|
fprintf(f, "int generated_by_testExe3() { return 0; }\n");
|
|
fclose(f);
|
|
}
|
|
else
|
|
{
|
|
fprintf(stderr, "Error writing to %s\n", argv[1]);
|
|
return 1;
|
|
}
|
|
}
|
|
return 0;
|
|
}
|