summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetLinkLibrariesCommand.h
diff options
context:
space:
mode:
authorDeniz Bahadir <dbahadir@benocs.com>2017-11-27 21:30:26 (GMT)
committerDeniz Bahadir <dbahadir@benocs.com>2017-11-30 16:35:25 (GMT)
commit8112059ee7f38f0eb5cdcaba8185aec659abcbfc (patch)
tree0cacedb3d1654eb15419f06139ca62eb77b7c308 /Source/cmTargetLinkLibrariesCommand.h
parentb0e2f1415e680337f4b70b19e319efeba0eb6f12 (diff)
downloadCMake-8112059ee7f38f0eb5cdcaba8185aec659abcbfc.zip
CMake-8112059ee7f38f0eb5cdcaba8185aec659abcbfc.tar.gz
CMake-8112059ee7f38f0eb5cdcaba8185aec659abcbfc.tar.bz2
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.
Diffstat (limited to 'Source/cmTargetLinkLibrariesCommand.h')
-rw-r--r--Source/cmTargetLinkLibrariesCommand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTargetLinkLibrariesCommand.h b/Source/cmTargetLinkLibrariesCommand.h
index f41af49..a2f3ecd 100644
--- a/Source/cmTargetLinkLibrariesCommand.h
+++ b/Source/cmTargetLinkLibrariesCommand.h
@@ -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
{