[Cmake-commits] CMake branch, next, updated. v2.8.11.2-3615-g00e84fe

Stephen Kelly steveire at gmail.com
Fri Aug 2 08:52:56 EDT 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  00e84fe5ecc852b9851d28116dd7a6239b52175a (commit)
       via  c2bc9a448accca76e606734069035057021e9ea7 (commit)
      from  fd2b43991b3e09e2134b65c524df48ab74e4dd29 (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=00e84fe5ecc852b9851d28116dd7a6239b52175a
commit 00e84fe5ecc852b9851d28116dd7a6239b52175a
Merge: fd2b439 c2bc9a4
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Aug 2 08:52:52 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Aug 2 08:52:52 2013 -0400

    Merge topic 'ALIAS-targets' into next
    
    c2bc9a4 cmTarget: Add more documentation about ALIAS usecases


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c2bc9a448accca76e606734069035057021e9ea7
commit c2bc9a448accca76e606734069035057021e9ea7
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Aug 2 14:50:53 2013 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Fri Aug 2 14:52:11 2013 +0200

    cmTarget: Add more documentation about ALIAS usecases

diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h
index 3cd51fc..2774ce8 100644
--- a/Source/cmAddExecutableCommand.h
+++ b/Source/cmAddExecutableCommand.h
@@ -113,8 +113,11 @@ public:
       "creates an alias, such that <name> can be used to refer to <target> "
       "in subsequent commands.  The <name> does not appear in the generated "
       "buildsystem as a make target.  The <target> may not be an IMPORTED "
-      "target or an ALIAS.  The <name> may not be used to modify properties "
-      "of <target>, that is, it may not be used as the operand of "
+      "target or an ALIAS.  Alias targets can be used as linkable targets, "
+      "targets to read properties from, executables for custom commands and "
+      "custom targets.  They can also be tested for existance with the "
+      "regular if(TARGET) subcommand.  The <name> may not be used to modify "
+      "properties of <target>, that is, it may not be used as the operand of "
       "set_property, set_target_properties, target_link_libraries etc.  An "
       "ALIAS target may not be installed of exported."
       ;
diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h
index 1ccb152..59354b0 100644
--- a/Source/cmAddLibraryCommand.h
+++ b/Source/cmAddLibraryCommand.h
@@ -144,9 +144,13 @@ public:
       "creates an alias, such that <name> can be used to refer to <target> "
       "in subsequent commands.  The <name> does not appear in the generated "
       "buildsystem as a make target.  The <target> may not be an IMPORTED "
-      "target or an ALIAS.  The <name> may not be used to modify properties "
-      "of <target>, that is, it may not be used as the operand of "
-      "set_property, set_target_properties, target_link_libraries etc."
+      "target or an ALIAS.  Alias targets can be used as linkable targets, "
+      "targets to read properties from.  They can also be tested for "
+      "existance with the "
+      "regular if(TARGET) subcommand.  The <name> may not be used to modify "
+      "properties of <target>, that is, it may not be used as the operand of "
+      "set_property, set_target_properties, target_link_libraries etc.  An "
+      "ALIAS target may not be installed of exported."
       ;
     }
 

-----------------------------------------------------------------------

Summary of changes:
 Source/cmAddExecutableCommand.h |    7 +++++--
 Source/cmAddLibraryCommand.h    |   10 +++++++---
 2 files changed, 12 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list