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.
|
|
|
set(log "${RunCMake_BINARY_DIR}/CustomCommandDepfile-build/build.ninja")
|
|
|
|
file(READ "${log}" build_file)
|
|
|
|
|
|
|
|
set(RunCMake_TEST_FAILED)
|
|
|
|
if(NOT "${build_file}" MATCHES "depfile = test\\.d")
|
|
|
|
list(APPEND RunCMake_TEST_FAILED "Log file:\n ${log}\ndoes not have expected line: depfile = test.d")
|
|
|
|
endif()
|
|
|
|
if(NOT "${build_file}" MATCHES "depfile = test_Debug\\.d")
|
|
|
|
list(APPEND RunCMake_TEST_FAILED "\nLog file:\n ${log}\ndoes not have expected line: depfile = test_Debug.d")
|
|
|
|
endif()
|