CMake/Tests/RunCMake/try_compile
Brad King 482f1122ad try_compile: Add signature to allow multiple SOURCES
Extend the signature

 try_compile(RESULT_VAR <bindir> <srcfile> ...)

to allow multiple sources as

 try_compile(RESULT_VAR <bindir> SOURCES <srcfile>... ...)

Process the sources to generate a CMakeLists.txt that enables all needed
languages.

Teach the TryCompile test to try cases with two sources of the same
language and of mixed languages.  Teach RunCMake.try_compile to cover
error cases for the signature.
2013-06-06 14:35:20 -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
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
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 signature to allow multiple SOURCES 2013-06-06 14:35:20 -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