mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Currently, this feature is only supported on ELF platforms. So, the property LINK_WHAT_YOU_USE will be ignored for other plateforms. Moreover, flags and commands are now controled by CMake variables. Fixes: #20174
11 lines
313 B
ReStructuredText
11 lines
313 B
ReStructuredText
CMAKE_LINK_WHAT_YOU_USE_CHECK
|
|
-----------------------------
|
|
|
|
.. versionadded:: 3.22
|
|
|
|
Defines the command executed after the link step to check libraries usage.
|
|
This check is currently only defined on ``ELF`` platforms with value
|
|
``ldd -u -r``.
|
|
|
|
See also :variable:`CMAKE_<LANG>_LINK_WHAT_YOU_USE_FLAG` variables.
|