mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
@@ -77,6 +77,7 @@ Try Compiling Source Files
|
||||
[COMPILE_DEFINITIONS <defs>...]
|
||||
[LINK_OPTIONS <options>...]
|
||||
[LINK_LIBRARIES <libs>...]
|
||||
[LINKER_LANGUAGE <lang>]
|
||||
[OUTPUT_VARIABLE <var>]
|
||||
[COPY_FILE <fileName> [COPY_FILE_ERROR <var>]]
|
||||
[<LANG>_STANDARD <std>]
|
||||
@@ -184,6 +185,14 @@ The options for the above signatures are:
|
||||
set the :prop_tgt:`STATIC_LIBRARY_OPTIONS` target property in the generated
|
||||
project, depending on the :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` variable.
|
||||
|
||||
``LINKER_LANGUAGE <lang>```
|
||||
.. versionadded:: 3.29
|
||||
|
||||
Specify the :prop_tgt:`LINKER_LANGUAGE` target property of the generated
|
||||
project. When using multiple source files with different languages, set
|
||||
this to the language of the source file containing the program entry point,
|
||||
e.g., ``main``.
|
||||
|
||||
``LOG_DESCRIPTION <text>``
|
||||
.. versionadded:: 3.26
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ The signature above is recommended for clarity.
|
||||
[COMPILE_DEFINITIONS <defs>...]
|
||||
[LINK_OPTIONS <options>...]
|
||||
[LINK_LIBRARIES <libs>...]
|
||||
[LINKER_LANGUAGE <lang>]
|
||||
[COMPILE_OUTPUT_VARIABLE <var>]
|
||||
[COPY_FILE <fileName> [COPY_FILE_ERROR <var>]]
|
||||
[<LANG>_STANDARD <std>]
|
||||
|
||||
Reference in New Issue
Block a user