Debian Codegraph @

Tests/RunCMake/File_Generate/InputAndContent-check.cmake

raw
1 file(READ "${RunCMake_TEST_BINARY_DIR}/output-INPUT.txt" input)
2 if(NOT input MATCHES "INPUT file")
3 string(APPEND RunCMake_TEST_FAILED "INPUT incorrectly overridden by CONTENT")
4 endif()
5 file(READ "${RunCMake_TEST_BINARY_DIR}/output-CONTENT.txt" content)
6 if(NOT content MATCHES "CONTENT argument")
7 string(APPEND RunCMake_TEST_FAILED "CONTENT incorrectly overridden by INPUT")
8 endif()