summaryrefslogtreecommitdiff
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2023-02-24 11:01:11 +0100
committerBrad King <brad.king@kitware.com>2023-02-27 09:18:34 -0500
commita7f9c7da2618c795db534890124718fd0d9c73ce (patch)
tree2cd5286820740111a87520731c8cf86282118388 /Help/prop_tgt
parent9694504adcdc44492a2e088343cd5be1fd28d270 (diff)
downloadcmake-a7f9c7da2618c795db534890124718fd0d9c73ce.tar.gz
Add option to add SOVERSION to DLL names
Add variable/target property `[CMAKE_]DLL_NAME_WITH_SOVERSION`. Fixes: #24251 Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/DLL_NAME_WITH_SOVERSION.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Help/prop_tgt/DLL_NAME_WITH_SOVERSION.rst b/Help/prop_tgt/DLL_NAME_WITH_SOVERSION.rst
new file mode 100644
index 0000000000..59ef00f0a1
--- /dev/null
+++ b/Help/prop_tgt/DLL_NAME_WITH_SOVERSION.rst
@@ -0,0 +1,17 @@
+DLL_NAME_WITH_SOVERSION
+-----------------------
+
+.. versionadded:: 3.27
+
+This property control whether the :prop_tgt:`SOVERSION` target
+property are added to the filename of generated DLL filenames
+for the Windows platform, which is selected when the
+:variable:`WIN32` variable is set.
+
+The value of the listed property is appended to the
+basename of the runtime component of the shared library
+target as ``-<SOVERSION>``.
+
+Please note that setting this property has no effect
+if versioned filenames are globally disabled with the
+:variable:`CMAKE_PLATFORM_NO_VERSIONED_SONAME` variable.