mirror of
https://github.com/reactos/CMake.git
synced 2025-01-10 05:31:02 +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.
13 lines
348 B
Plaintext
13 lines
348 B
Plaintext
CMake Error at BadSources2.cmake:2 \(try_compile\):
|
|
Unknown extension ".cxx" for file
|
|
|
|
.*/Tests/RunCMake/try_compile/src.cxx
|
|
|
|
try_compile\(\) works only for enabled languages. Currently these are:
|
|
|
|
C NONE( RC)?
|
|
|
|
See project\(\) command to enable other languages.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|