summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/DependencyGraph/OptimizeStatic-none.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Add option to optimize link dependencies for static librariesKyle Edwards2020-08-121-0/+1
Add an `OPTIMIZE_DEPENDENCIES` target property and supporting `CMAKE_OPTIMIZE_DEPENDENCIES` variable to optionally enable pruning and flattening of outgoing dependencies from static libraries. Since they do not actually link, they only depend on side effects of their dependencies. Therefore we can drop dependencies that contribute no side effects.