You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/Codegen/min-graph-1-build-check.cmake

14 lines
422 B

set(filename "${RunCMake_TEST_BINARY_DIR}/generated.h")
if (NOT EXISTS "${filename}")
set(RunCMake_TEST_FAILED "expected file NOT created:\n ${filename}")
return()
endif()
# foobar should be built since it was needed
# by the code generation
set(filename "${RunCMake_TEST_BINARY_DIR}/foobar.txt")
if (NOT EXISTS "${filename}")
set(RunCMake_TEST_FAILED "expected file NOT created:\n ${filename}")
return()
endif()