[Cmake-commits] CMake branch, master, updated. v2.8.3-139-gf9abda2

KWSys Robot kwrobot at kitware.com
Wed Dec 1 16:10:03 EST 2010


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, master has been updated
       via  f9abda2db4acb1cc00844dbf4f63392d8c208a0a (commit)
      from  8b555d1d208b8bbc2f4c3ddbcd33fb8e716de058 (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=f9abda2db4acb1cc00844dbf4f63392d8c208a0a
commit f9abda2db4acb1cc00844dbf4f63392d8c208a0a
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Dec 1 16:02:50 2010 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Dec 1 16:10:02 2010 -0500

    KWSys: Associate installed library with an EXPORT
    
    A parent project may now set KWSYS_INSTALL_EXPORT_NAME to specify the
    EXPORT name for install(TARGETS) commands.

diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index bcc7a96..18cae43 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -61,6 +61,8 @@
 #                                             If not given the install rules
 #                                             will not be in any component.
 #
+#  KWSYS_INSTALL_EXPORT_NAME = The EXPORT option value for install(TARGETS) calls.
+#
 #    Example:
 #
 #      SET(KWSYS_INSTALL_BIN_DIR bin)
@@ -235,6 +237,9 @@ IF(COMMAND INSTALL)
 
   # Setup library install rules.
   SET(KWSYS_INSTALL_LIBRARY_RULE)
+  IF(KWSYS_INSTALL_EXPORT_NAME)
+    LIST(APPEND KWSYS_INSTALL_LIBRARY_RULE EXPORT ${KWSYS_INSTALL_EXPORT_NAME})
+  ENDIF()
   IF(KWSYS_INSTALL_LIB_DIR)
     # Install the shared library to the lib directory.
     SET(KWSYS_INSTALL_LIBRARY_RULE ${KWSYS_INSTALL_LIBRARY_RULE}

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

Summary of changes:
 Source/kwsys/CMakeLists.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list