Skip to content
Snippets Groups Projects
Commit 7f1bd9fe authored by Brad King's avatar Brad King
Browse files

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.
parent 509b1f08
No related branches found
No related tags found
No related merge requests found
Showing
with 136 additions and 15 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment