summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-03-26 15:27:18 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-03-26 15:27:18 (GMT)
commit1d8e3a1e770ae4aed921eefffaceb70b1fd73701 (patch)
treee92bba9d4420302b016e6491ced6cf45a3d5add9 /Help
parent18a2e863852e6b9f918940698952b75e5e17dcd8 (diff)
downloadCMake-1d8e3a1e770ae4aed921eefffaceb70b1fd73701.zip
CMake-1d8e3a1e770ae4aed921eefffaceb70b1fd73701.tar.gz
CMake-1d8e3a1e770ae4aed921eefffaceb70b1fd73701.tar.bz2
UseSWIG: Use standard library name conventions for csharp language
Fixes: #21542
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-policies.7.rst3
-rw-r--r--Help/policy/CMP0122.rst17
-rw-r--r--Help/release/dev/UseSWIG-csharp.rst5
3 files changed, 24 insertions, 1 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index f103c50..5dfa894 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -57,7 +57,8 @@ Policies Introduced by CMake 3.21
.. toctree::
:maxdepth: 1
- CMP0121: The list command detects invalid indicies </policy/CMP0121>
+ CMP0122: UseSWIG use standard library name conventions for csharp language. </policy/CMP0122>
+ CMP0121: The list command detects invalid indicies. </policy/CMP0121>
Policies Introduced by CMake 3.20
=================================
diff --git a/Help/policy/CMP0122.rst b/Help/policy/CMP0122.rst
new file mode 100644
index 0000000..1ff8c48
--- /dev/null
+++ b/Help/policy/CMP0122.rst
@@ -0,0 +1,17 @@
+CMP0122
+-------
+
+.. versionadded:: 3.21
+
+:module:`UseSWIG` use library name conventions for ``CSharp`` language.
+
+Starting with CMake 3.21, :module:`UseSWIG` generates now a library using
+default naming conventions. This policy provides compatibility with projects
+that expect the legacy behavior.
+
+This policy was introduced in CMake version 3.21. CMake version
+|release| warns when the policy is not set and uses ``OLD`` behavior.
+Use the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW``
+explicitly.
+
+.. include:: DEPRECATED.txt
diff --git a/Help/release/dev/UseSWIG-csharp.rst b/Help/release/dev/UseSWIG-csharp.rst
new file mode 100644
index 0000000..dbbeaf1
--- /dev/null
+++ b/Help/release/dev/UseSWIG-csharp.rst
@@ -0,0 +1,5 @@
+UseSWIG-csharp
+--------------
+
+* The :module:`UseSWIG` module use now standard library name conventions for
+ ``CSharp`` language. See policy :policy:`CMP0122`.