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
BadLinkLibraries-result.txt
BadLinkLibraries-stderr.txt
BadLinkLibraries.cmake
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
NoArgs-result.txt
NoArgs-stderr.txt
NoArgs.cmake
NoCopyFile-result.txt
NoCopyFile-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFile.cmake
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
NoOutputVariable-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoOutputVariable.cmake
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
NonSourceCompileDefinitions-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NonSourceCompileDefinitions.cmake
NonSourceCopyFile-result.txt
NonSourceCopyFile-stderr.txt
NonSourceCopyFile.cmake
OneArg-result.txt
OneArg-stderr.txt
OneArg.cmake
RunCMakeTest.cmake try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
TwoArgs-result.txt
TwoArgs-stderr.txt
TwoArgs.cmake
src.c