mirror of
https://github.com/reactos/CMake.git
synced 2024-12-24 20:44:47 +00:00
482f1122ad
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. |
||
---|---|---|
.. | ||
Inner | ||
CMakeLists.txt | ||
exit_success.c | ||
exit_with_error.c | ||
expect_arg.c | ||
fail2a.c | ||
fail2b.c | ||
fail.c | ||
pass2a.c | ||
pass2b.cxx | ||
pass.c |