This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
03bd9895e3
CMake
/
Tests
/
RunCMake
/
try_compile
/
NoSources.cmake
2 lines
56 B
CMake
Raw
Normal View
History
Unescape
Escape
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 21:54:44 +04:00
try_compile
(
RESULT
${
CMAKE_CURRENT_BINARY_DIR
}
SOURCES
)