https://github.com/Kitware/CMake
Revision bf732ec464a38b83b312827b61a5ab19a016b824 authored by Brad King on 08 March 2008, 14:50:56 UTC, committed by Brad King on 08 March 2008, 14:50:56 UTC
1 parent 959bd61
Tip revision: bf732ec464a38b83b312827b61a5ab19a016b824 authored by Brad King on 08 March 2008, 14:50:56 UTC
BUG: Fix include_directories command to produce an immediately whether or not 2.4 compatibility is enabled. CMake 2.4 already produced an error, just not immediately.
BUG: Fix include_directories command to produce an immediately whether or not 2.4 compatibility is enabled. CMake 2.4 already produced an error, just not immediately.
Tip revision: bf732ec
check_clean.c.in
#include <stdio.h>
int main()
{
/* The list of files to check. */
const char* files[] =
{
@CHECK_FILES@
0
};
/* No file should exist. */
const char** f = files;
int result = 0;
for(; *f; ++f)
{
FILE* pf = fopen(*f, "rb");
if(pf)
{
fclose(pf);
fprintf(stderr, "File \"%s\" exists!", *f);
result = 1;
}
}
return result;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...