Files
CMake/Help/variable/CMAKE_LINK_WHAT_YOU_USE_CHECK.rst
Marc Chevrier 14e57e9637 LINK_WHAT_YOU_USE feature: externalize configuration
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
2021-07-09 14:50:50 +02:00

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.