CMake/Tests/TryCompile
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
..
Inner No /fast targets in try_compile project mode 2009-08-04 14:37:46 -04:00
CMakeLists.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
exit_success.c ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now 2007-06-01 11:16:29 -04:00
exit_with_error.c ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now 2007-06-01 11:16:29 -04:00
expect_arg.c Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
fail.c ENH: add a new test to test try compile 2003-02-10 13:19:34 -05:00
fail2a.c try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
fail2b.c try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
pass.c Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
pass2a.c try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
pass2b.cxx try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00