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/Graphviz/no_per_target_files-check.c...

6 lines
266 B

file(GLOB per_target_files ${RunCMake_TEST_BINARY_DIR}/*.dot.*)
list(FILTER per_target_files EXCLUDE REGEX ".*\\.dependers$")
if(per_target_files)
set(RunCMake_TEST_FAILED "Found per-target .dot files despite GRAPHVIZ_GENERATE_PER_TARGET set to FALSE.")
endif()