1CMAKE_TRY_COMPILE_TARGET_TYPE 2----------------------------- 3 4.. versionadded:: 3.6 5 6Type of target generated for :command:`try_compile` calls using the 7source file signature. Valid values are: 8 9``EXECUTABLE`` 10 Use :command:`add_executable` to name the source file in the 11 generated project. This is the default if no value is given. 12 13``STATIC_LIBRARY`` 14 Use :command:`add_library` with the ``STATIC`` option to name the 15 source file in the generated project. This avoids running the 16 linker and is intended for use with cross-compiling toolchains 17 that cannot link without custom flags or linker scripts. 18