1CMP0078 2------- 3 4.. versionadded:: 3.13 5 6:module:`UseSWIG` generates standard target names. 7 8Starting with CMake 3.13, :module:`UseSWIG` generates now standard target 9names. This policy provides compatibility with projects that expect the legacy 10behavior. 11 12The ``OLD`` behavior for this policy relies on 13``UseSWIG_TARGET_NAME_PREFERENCE`` variable that can be used to specify an 14explicit preference. The value may be one of: 15 16* ``LEGACY``: legacy strategy is applied. Variable 17 ``SWIG_MODULE_<name>_REAL_NAME`` must be used to get real target name. 18 This is the default if not specified. 19* ``STANDARD``: target name matches specified name. 20 21This policy was introduced in CMake version 3.13. CMake version 22|release| warns when the policy is not set and uses ``OLD`` behavior. 23Use the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` 24explicitly. 25 26.. include:: DEPRECATED.txt 27