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.
8 lines
336 B
8 lines
336 B
16 years ago
|
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")
|