Jelajahi Sumber

Merge topic 'doc-link-interface'

f032fb9 target_link_libraries: Document that new sigs privatize old (#13876)
Brad King 12 tahun lalu
induk
melakukan
c29dd4fa76
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      Source/cmTargetLinkLibrariesCommand.h

+ 3 - 1
Source/cmTargetLinkLibrariesCommand.h

@@ -93,7 +93,9 @@ public:
       "linked to this target will appear on the link line for the other "
       "linked to this target will appear on the link line for the other "
       "target too.  "
       "target too.  "
       "See the LINK_INTERFACE_LIBRARIES target property to override the "
       "See the LINK_INTERFACE_LIBRARIES target property to override the "
-      "set of transitive link dependencies for a target."
+      "set of transitive link dependencies for a target.  "
+      "Calls to other signatures of this command may set the property "
+      "making any libraries linked exclusively by this signature private."
       "\n"
       "\n"
       "  target_link_libraries(<target> LINK_INTERFACE_LIBRARIES\n"
       "  target_link_libraries(<target> LINK_INTERFACE_LIBRARIES\n"
       "                        [[debug|optimized|general] <lib>] ...)\n"
       "                        [[debug|optimized|general] <lib>] ...)\n"