[Cmake-commits] CMake branch, next, updated. v3.2.2-2038-ga789817

Brad King brad.king at kitware.com
Wed Apr 22 09:30:24 EDT 2015


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  a7898175169b164db4ce85a5337f6b7de5ad6242 (commit)
       via  941e3bd2b63769a0b91224c0d038e13b6cae6255 (commit)
      from  3e6bf27bad2260bff42f3a3ce43957ffdec23a04 (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=a7898175169b164db4ce85a5337f6b7de5ad6242
commit a7898175169b164db4ce85a5337f6b7de5ad6242
Merge: 3e6bf27 941e3bd
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Apr 22 09:30:23 2015 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Apr 22 09:30:23 2015 -0400

    Merge topic 'doc-find_library-file-name' into next
    
    941e3bd2 Help: Document in find_library how to search for static libraries


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=941e3bd2b63769a0b91224c0d038e13b6cae6255
commit 941e3bd2b63769a0b91224c0d038e13b6cae6255
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Apr 22 09:23:49 2015 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Apr 22 09:29:55 2015 -0400

    Help: Document in find_library how to search for static libraries
    
    This has been implemented since commit v2.6.0~295 (Make find_library
    test for the library file as named, 2008-02-06).  Add the docs.

diff --git a/Help/command/find_library.rst b/Help/command/find_library.rst
index 09df688..e3dcd2b 100644
--- a/Help/command/find_library.rst
+++ b/Help/command/find_library.rst
@@ -34,6 +34,12 @@ default will consider one name at a time and search every directory
 for it.  The NAMES_PER_DIR option tells this command to consider one
 directory at a time and search for all names in it.
 
+Each library name given to the ``NAMES`` option is first considered
+as a library file name and then considered with platform-specific
+prefixes (e.g. ``lib``) and suffixes (e.g. ``.so``).  Therefore one
+may specify library file names such as ``libfoo.a`` directly.
+This can be used to locate static libraries on UNIX-like systems.
+
 If the library found is a framework, then VAR will be set to the full
 path to the framework <fullPath>/A.framework.  When a full path to a
 framework is used as a library, CMake will use a -framework A, and a

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

Summary of changes:
 Help/command/find_library.rst |    6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list