set(filename "${RunCMake_TEST_BINARY_DIR}/generated.hpp") if (NOT EXISTS "${filename}") set(RunCMake_TEST_FAILED "expected file NOT created:\n ${filename}") return() endif()