• Brad King's avatar
    try_compile: Add option to control type of target · 7f1bd9fe
    Brad King authored
    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.
    7f1bd9fe
CMAKE_TRY_COMPILE_TARGET_TYPE.rst 591 Bytes