CMake/Tests/StringFileTest/InputFile.h.in

22 lines
366 B
C
Raw Normal View History

#include "includefile"
int CheckMethod(const char* var, const char* val )
{
if ( !var )
{
printf("Var not specified\n");
return 1;
}
if ( !val )
{
printf("Val not specified\n");
return 1;
}
if ( strcmp(var, val) != 0)
{
printf("Var (%s) and Val (%s) are not the same...\n", var, val);
return 1;
}
return 0;
}