cmake/Help/policy/CMP0078.rst

26 lines
798 B
ReStructuredText
Raw Normal View History

2018-10-28 12:09:07 +01:00
CMP0078
-------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.13
2019-11-11 23:01:05 +01:00
:module:`UseSWIG` generates standard target names.
2018-10-28 12:09:07 +01:00
Starting with CMake 3.13, :module:`UseSWIG` generates now standard target
names. This policy provides compatibility with projects that expect the legacy
behavior.
The ``OLD`` behavior for this policy relies on
``UseSWIG_TARGET_NAME_PREFERENCE`` variable that can be used to specify an
explicit preference. The value may be one of:
* ``LEGACY``: legacy strategy is applied. Variable
``SWIG_MODULE_<name>_REAL_NAME`` must be used to get real target name.
This is the default if not specified.
* ``STANDARD``: target name matches specified name.
2024-04-14 22:45:38 +02:00
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.13
.. |WARNS_OR_DOES_NOT_WARN| replace:: warns
.. include:: STANDARD_ADVICE.txt
2018-10-28 12:09:07 +01:00
.. include:: DEPRECATED.txt