CMake/Tests/CustomCommand/wrapper.cxx

11 lines
166 B
C++

#include <stdio.h>
int main(int argc, char *argv[])
{
FILE *fp = fopen(argv[1],"w");
fprintf(fp,"int wrapped() { return 5; }\n");
fclose(fp);
return 0;
}