summaryrefslogtreecommitdiffstats
path: root/Help/policy
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/policy
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/policy')
-rw-r--r--Help/policy/CMP0122.rst17
1 files changed, 17 insertions, 0 deletions
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