Type of target generated for
try_compile() calls using the source file signature. Valid values are:
add_executable()to name the source file in the generated project. This is the default if no value is given.
STATICoption to name the source file in the generated project. This avoids running the linker and is intended for use with cross-compiling toolchains that cannot link without custom flags or linker scripts.
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.