summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/LinkWhatYouUse/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Add options to run `ldd -u -r` as a "link-what-you-use" toolBill Hoffman2016-06-171-0/+4
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.