[Cmake-commits] CMake branch, next, updated. v3.4.0-rc1-216-g0f9e43f
Brad King
brad.king at kitware.com
Thu Oct 8 13:57:29 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 0f9e43f8a46d62ae64243e4db09c90bdfb661525 (commit)
via 80004259f2b9be6ae4aa5deeecc70e86a4f0a846 (commit)
from 2aa7685256dfa5063641eb125a56b557d9621369 (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0f9e43f8a46d62ae64243e4db09c90bdfb661525
commit 0f9e43f8a46d62ae64243e4db09c90bdfb661525
Merge: 2aa7685 8000425
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Oct 8 13:57:29 2015 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Oct 8 13:57:29 2015 -0400
Merge topic 'doc-clarify-shared-lib' into next
80004259 Revise topic 'doc-clarify-shared-lib'
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=80004259f2b9be6ae4aa5deeecc70e86a4f0a846
commit 80004259f2b9be6ae4aa5deeecc70e86a4f0a846
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Oct 8 13:56:48 2015 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Oct 8 13:56:48 2015 -0400
Revise topic 'doc-clarify-shared-lib'
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index 7a67d61..5033e18 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -37,9 +37,10 @@ A ``SHARED`` library may be marked with the :prop_tgt:`FRAMEWORK`
target property to create an OS X Framework.
If a library does not export any symbols, it must not be declared as a
-``SHARED`` library to avoid breaking incremental builds on some generators
-and compilers. For example, a Win32 resource DLL or a managed C++/CLI DLL
-that exports no unmanaged symbols would need to be a ``MODULE`` library.
+``SHARED`` library. For example, a Windows resource DLL or a managed C++/CLI
+DLL that exports no unmanaged symbols would need to be a ``MODULE`` library.
+This is because CMake expects a ``SHARED`` library to always have an
+associated import library on Windows.
By default the library file will be created in the build tree directory
corresponding to the source tree directory in which the command was
diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst
index 154b05b..bc633e6 100644
--- a/Help/manual/cmake-buildsystem.7.rst
+++ b/Help/manual/cmake-buildsystem.7.rst
@@ -80,10 +80,10 @@ regardless of the library type. The ``MODULE`` library type is
dissimilar in that it is generally not linked to -- it is not used in
the right-hand-side of the :command:`target_link_libraries` command.
It is a type which is loaded as a plugin using runtime techniques.
-If the library does not export any unmanaged symbols (e.g. Win32
+If the library does not export any unmanaged symbols (e.g. Windows
resource DLL, C++/CLI DLL), it is required that the library not be a
-``SHARED`` library. Some generators and compilers assume that
-``SHARED`` libraries export at least one symbol.
+``SHARED`` library because CMake expects ``SHARED`` libraries to export
+at least one symbol.
.. code-block:: cmake
-----------------------------------------------------------------------
Summary of changes:
Help/command/add_library.rst | 7 ++++---
Help/manual/cmake-buildsystem.7.rst | 6 +++---
2 files changed, 7 insertions(+), 6 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list