c28715b16c
When the COPY_FILE operation fails optionally capture the error message with a COPY_FILE_ERROR option instead of reporting the error immediately. This gives callers a chance to do something else or report the error. Teach the RunCMake.try_compile test to cover bad argument combinations involving COPY_FILE_ERROR. Teach the TryCompile test to cover the case of a COPY_FILE error message captured by COPY_FILE_ERROR.
5 lines
184 B
Plaintext
5 lines
184 B
Plaintext
CMake Error at CopyFileErrorNoCopyFile.cmake:1 \(try_compile\):
|
|
COPY_FILE_ERROR may be used only with COPY_FILE
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|