mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 08:37:09 +00:00
8 lines
336 B
CMake
8 lines
336 B
CMake
SET(TEST_FILE CMakeFiles/create_file.dir/create_file.i)
|
|
FILE(READ ${TEST_FILE} CONTENTS)
|
|
IF("${CONTENTS}" MATCHES "Unable to close")
|
|
MESSAGE(STATUS "${TEST_FILE} created successfully!")
|
|
ELSE("${CONTENTS}" MATCHES "Unable to close")
|
|
MESSAGE(FATAL_ERROR "${TEST_FILE} creation failed!")
|
|
ENDIF("${CONTENTS}" MATCHES "Unable to close")
|