CMake/Tests/Wrapping/fakefluid.cxx

17 lines
284 B
C++

#include <stdio.h>
#include <string.h>
int main(int ac, char** av)
{
for(int i =0; i < ac; ++i)
{
if(strcmp(av[i], "-o") == 0)
{
FILE* file = fopen(av[i+1], "w");
fprintf(file, "// hello\n");
fclose(file);
return 0;
}
}
return 0;
}