enable_language(C) add_executable(main ${CMAKE_CURRENT_BINARY_DIR}/main.c) file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/check-$>.cmake CONTENT " set(check_pairs \"$|${CMAKE_CURRENT_BINARY_DIR}/main.c\" \"$|${CMAKE_CURRENT_BINARY_DIR}/main.h\" ) set(check_exes \"$\" ) ")