2024-11-11 15:18:55 +01:00
|
|
|
set(TEST_FILE CMakeFiles/create_file.dir/create_file.cxx.i)
|
2013-03-16 19:13:01 +02:00
|
|
|
file(READ ${TEST_FILE} CONTENTS)
|
|
|
|
if("${CONTENTS}" MATCHES "Unable to close")
|
|
|
|
message(STATUS "${TEST_FILE} created successfully!")
|
|
|
|
else()
|
|
|
|
message(FATAL_ERROR "${TEST_FILE} creation failed!")
|
|
|
|
endif()
|