mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 06:20:23 +00:00
b6b37e3037
Extend the FortranOnly test to cover "make <src>.i" targets.
8 lines
250 B
CMake
8 lines
250 B
CMake
set(TEST_FILE CMakeFiles/preprocess.dir/preprocess.F.i)
|
|
file(READ ${TEST_FILE} CONTENTS)
|
|
if("${CONTENTS}" MATCHES "PRINT *")
|
|
message(STATUS "${TEST_FILE} created successfully!")
|
|
else()
|
|
message(FATAL_ERROR "${TEST_FILE} creation failed!")
|
|
endif()
|