CMake/Tests/RunCMake/try_compile
Brad King c28715b16c try_compile: Add COPY_FILE_ERROR option to capture failure
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.
2013-07-15 09:16:36 -04:00
..
proj try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
BadLinkLibraries-result.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
BadLinkLibraries-stderr.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
BadLinkLibraries.cmake try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
BadSources1-result.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources1-stderr.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources1.cmake try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources2-result.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources2-stderr.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources2.cmake try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
CMakeLists.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
CopyFileErrorNoCopyFile-result.txt try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
CopyFileErrorNoCopyFile-stderr.txt try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
CopyFileErrorNoCopyFile.cmake try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
NoArgs-result.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NoArgs-stderr.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NoArgs.cmake try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NoCopyFile-result.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NoCopyFile-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFile.cmake try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NoCopyFile2-result.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFile2-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFile2.cmake try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFileError-result.txt try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
NoCopyFileError-stderr.txt try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
NoCopyFileError.cmake try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
NoOutputVariable-result.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NoOutputVariable-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoOutputVariable.cmake try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NoOutputVariable2-result.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoOutputVariable2-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoOutputVariable2.cmake try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoSources-result.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
NoSources-stderr.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
NoSources.cmake try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
NonSourceCompileDefinitions-result.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NonSourceCompileDefinitions-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NonSourceCompileDefinitions.cmake try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NonSourceCopyFile-result.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NonSourceCopyFile-stderr.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
NonSourceCopyFile.cmake try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
OneArg-result.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
OneArg-stderr.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
OneArg.cmake try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
RunCMakeTest.cmake try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
TwoArgs-result.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
TwoArgs-stderr.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
TwoArgs.cmake try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
src.c try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00