[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1761-ga699f1b
Brad King
brad.king at kitware.com
Thu Jan 24 16:46:35 EST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via a699f1b55c92ea5387a6af75d30f2b075026fbfc (commit)
via f032fb904b9b7a4f18702bcdbdeff0dfda01b803 (commit)
from c7d4499c59910da128cdd9a0a59e9e872e206964 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a699f1b55c92ea5387a6af75d30f2b075026fbfc
commit a699f1b55c92ea5387a6af75d30f2b075026fbfc
Merge: c7d4499 f032fb9
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Jan 24 16:46:31 2013 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Jan 24 16:46:31 2013 -0500
Merge topic 'doc-link-interface' into next
f032fb9 target_link_libraries: Document that new sigs privatize old (#13876)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f032fb904b9b7a4f18702bcdbdeff0dfda01b803
commit f032fb904b9b7a4f18702bcdbdeff0dfda01b803
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Jan 24 15:46:22 2013 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Jan 24 16:06:14 2013 -0500
target_link_libraries: Document that new sigs privatize old (#13876)
Explain in the documentation for the legacy signature
target_link_libraries(foo bar)
that the other signatures like
target_link_libraries(foo LINK_INTERFACE_LIBRARIES ...)
target_link_libraries(foo LINK_PRIVATE ...)
will set the LINK_INTERFACE_LIBRARIES target property and therefore make
libraries specified only by the legacy signature private.
diff --git a/Source/cmTargetLinkLibrariesCommand.h b/Source/cmTargetLinkLibrariesCommand.h
index 34fe54c..3da3950 100644
--- a/Source/cmTargetLinkLibrariesCommand.h
+++ b/Source/cmTargetLinkLibrariesCommand.h
@@ -93,7 +93,9 @@ public:
"linked to this target will appear on the link line for the other "
"target too. "
"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"
" target_link_libraries(<target> LINK_INTERFACE_LIBRARIES\n"
" [[debug|optimized|general] <lib>] ...)\n"
-----------------------------------------------------------------------
Summary of changes:
Source/cmTargetLinkLibrariesCommand.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list