Revision 8fad32f5b9ebf47ced97bfb40d73ffafb5d96aca authored by Brad King on 19 March 2020, 10:57:44 UTC, committed by Kitware Robot on 19 March 2020, 10:57:51 UTC
1994f950ff cmake: List valid values for --trace-format on the command line
e39766d84a Help: Fix documentation of --trace-format parameter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4500
2 parent s 9abc99e + 1994f95
Raw File
CMAKE_TRY_COMPILE_TARGET_TYPE.rst
CMAKE_TRY_COMPILE_TARGET_TYPE
-----------------------------

Type of target generated for :command:`try_compile` calls using the
source file signature.  Valid values are:

``EXECUTABLE``
  Use :command:`add_executable` to name the source file in the
  generated project.  This is the default if no value is given.

``STATIC_LIBRARY``
  Use :command:`add_library` with the ``STATIC`` option 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.
back to top