UseSWIG: Use standard library name conventions for csharp language

Fixes: #21542
This commit is contained in:
Marc Chevrier
2021-03-26 16:27:18 +01:00
parent 18a2e86385
commit 1d8e3a1e77
13 changed files with 98 additions and 3 deletions
+2 -1
View File
@@ -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
=================================
+17
View File
@@ -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
+5
View File
@@ -0,0 +1,5 @@
UseSWIG-csharp
--------------
* The :module:`UseSWIG` module use now standard library name conventions for
``CSharp`` language. See policy :policy:`CMP0122`.