CMake/Tests/RunCMake/Configure/ErrorLogs.cmake

4 lines
145 B
CMake

file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
"Some detailed error information!\n")
message(SEND_ERROR "Some error!")