mirror of
https://github.com/reactos/CMake.git
synced 2025-02-23 21:40:34 +00:00

Create a LINK_WHAT_YOU_USE target property and corresponding CMAKE_LINK_WHAT_YOU_USE variable to enable this behavior. Extend link commands by running `ldd -u -r` to detect shared libraries that are linked but not needed.
3 lines
49 B
Plaintext
3 lines
49 B
Plaintext
.*Warning: Unused direct dependencies.*
|
|
.*libm.*
|