summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-15 14:47:07 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-02-15 14:47:35 (GMT)
commit5b84e106e7e5597b06ff11e35052b4fbf0eb2e21 (patch)
treecdc3afcc97ad3dc7f6fe882a5cb3aab307360936 /Help/variable
parent0a552c2298a8e128e93a91b982f0c02208edd23d (diff)
parent3f7e6b3fd4ef57c24fb6440bea1cb8cd0a48161d (diff)
downloadCMake-5b84e106e7e5597b06ff11e35052b4fbf0eb2e21.zip
CMake-5b84e106e7e5597b06ff11e35052b4fbf0eb2e21.tar.gz
CMake-5b84e106e7e5597b06ff11e35052b4fbf0eb2e21.tar.bz2
Merge topic 'doc-no-versioned-soname'
3f7e6b3fd4 Help: Document CMAKE_PLATFORM_NO_VERSIONED_SONAME Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6978
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_PLATFORM_NO_VERSIONED_SONAME.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_PLATFORM_NO_VERSIONED_SONAME.rst b/Help/variable/CMAKE_PLATFORM_NO_VERSIONED_SONAME.rst
new file mode 100644
index 0000000..bf15fc8
--- /dev/null
+++ b/Help/variable/CMAKE_PLATFORM_NO_VERSIONED_SONAME.rst
@@ -0,0 +1,14 @@
+CMAKE_PLATFORM_NO_VERSIONED_SONAME
+----------------------------------
+
+.. versionadded:: 3.1
+
+This variable is used to globally control whether the
+:prop_tgt:`VERSION` and :prop_tgt:`SOVERSION` target
+properties should be used for shared libraries.
+When set to true, adding version information to each
+shared library target is disabled.
+
+By default this variable is set only on platforms where
+CMake knows it is needed. On other platforms, the
+specified properties will be used for shared libraries.