mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 06:30:20 -06:00
target_link_libraries: Simplify implementation and add comments.
The implementation of `target_link_libraries` did grow over the years when new features where added. This commit cleans up the implementation and adds comments to better document its intention. The behavior of `target_link_libraries` itself is left untouched.
This commit is contained in:
@@ -20,6 +20,9 @@ class cmTarget;
|
||||
* cmTargetLinkLibrariesCommand is used to specify a list of libraries to link
|
||||
* into executable(s) or shared objects. The names of the libraries
|
||||
* should be those defined by the LIBRARY(library) command(s).
|
||||
*
|
||||
* Additionally, it allows to propagate usage-requirements (including link
|
||||
* libraries) from one target into another.
|
||||
*/
|
||||
class cmTargetLinkLibrariesCommand : public cmCommand
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user