summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-21 13:29:06 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-21 13:29:06 (GMT)
commitbadde9c2a11afd8f9127f757e964d0d94c777aad (patch)
tree2157c8e43f6730a29588807214c02a4929723dea /Help
parentdef5795bac507ca15f40f46ba3024e81fdcc150b (diff)
parentf799ffb5cb895855ac2aba54765622b81db5be38 (diff)
downloadCMake-badde9c2a11afd8f9127f757e964d0d94c777aad.zip
CMake-badde9c2a11afd8f9127f757e964d0d94c777aad.tar.gz
CMake-badde9c2a11afd8f9127f757e964d0d94c777aad.tar.bz2
Merge topic 'modules-no-soname'
f799ffb5 Do not set SONAME for MODULE library targets (#15705) 899458ab Tests: Cover NO_SONAME property for SHARED libraries
Diffstat (limited to 'Help')
-rw-r--r--Help/prop_tgt/NO_SONAME.rst6
-rw-r--r--Help/release/dev/modules-no-soname.rst7
2 files changed, 10 insertions, 3 deletions
diff --git a/Help/prop_tgt/NO_SONAME.rst b/Help/prop_tgt/NO_SONAME.rst
index fc668b5..ee45ed8 100644
--- a/Help/prop_tgt/NO_SONAME.rst
+++ b/Help/prop_tgt/NO_SONAME.rst
@@ -1,11 +1,11 @@
NO_SONAME
---------
-Whether to set "soname" when linking a shared library or module.
+Whether to set "soname" when linking a shared library.
-Enable this boolean property if a generated shared library or module
+Enable this boolean property if a generated shared library
should not have "soname" set. Default is to set "soname" on all
-shared libraries and modules as long as the platform supports it.
+shared libraries as long as the platform supports it.
Generally, use this property only for leaf private libraries or
plugins. If you use it on normal shared libraries which other targets
link against, on some platforms a linker will insert a full path to
diff --git a/Help/release/dev/modules-no-soname.rst b/Help/release/dev/modules-no-soname.rst
new file mode 100644
index 0000000..8fe74f8
--- /dev/null
+++ b/Help/release/dev/modules-no-soname.rst
@@ -0,0 +1,7 @@
+modules-no-soname
+-----------------
+
+* The ``SONAME`` field is no longer set for ``MODULE`` libraries
+ created with the :command:`add_library` command. ``MODULE``
+ libraries are meant for explicit dynamic loading at runtime.
+ They cannot be linked so ``SONAME`` is not useful.