diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2023-02-24 10:01:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-27 14:18:34 (GMT) |
commit | a7f9c7da2618c795db534890124718fd0d9c73ce (patch) | |
tree | 2cd5286820740111a87520731c8cf86282118388 /Help/variable | |
parent | 9694504adcdc44492a2e088343cd5be1fd28d270 (diff) | |
download | CMake-a7f9c7da2618c795db534890124718fd0d9c73ce.zip CMake-a7f9c7da2618c795db534890124718fd0d9c73ce.tar.gz CMake-a7f9c7da2618c795db534890124718fd0d9c73ce.tar.bz2 |
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/variable')
-rw-r--r-- | Help/variable/CMAKE_DLL_NAME_WITH_SOVERSION.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_DLL_NAME_WITH_SOVERSION.rst b/Help/variable/CMAKE_DLL_NAME_WITH_SOVERSION.rst new file mode 100644 index 0000000..5fa49de --- /dev/null +++ b/Help/variable/CMAKE_DLL_NAME_WITH_SOVERSION.rst @@ -0,0 +1,14 @@ +CMAKE_DLL_NAME_WITH_SOVERSION +----------------------------- + +.. versionadded:: 3.27 + +This variable is used to initialize the :prop_tgt:`DLL_NAME_WITH_SOVERSION` +property on shared library targets for the Windows platform, which is selected +when the :variable:`WIN32` variable is set. + +See this target property for additional information. + +Please note that setting this variable has no effect if versioned filenames +are globally disabled with the :variable:`CMAKE_PLATFORM_NO_VERSIONED_SONAME` +variable. |