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
6a501b6519
CMake
/
Tests
/
RunCMake
/
try_compile
/
other.c
2 lines
30 B
C
Raw
Normal View
History
Unescape
Escape
try_compile: Add option to control type of target Create a `CMAKE_TRY_COMPILE_TARGET_TYPE` option to specify use of `add_library(... STATIC ...)` for the generated test project. This will be useful for cross-compiling toolchains that cannot link a binary without custom flags or scripts.
2016-02-19 21:23:48 +03:00
int
other
(
void
)
{
return
0
;
}