2020-08-30 11:54:41 +02:00
|
|
|
CMP0103
|
|
|
|
-------
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.18
|
|
|
|
|
2020-08-30 11:54:41 +02:00
|
|
|
Multiple calls to :command:`export` command with same ``FILE`` without
|
|
|
|
``APPEND`` is no longer allowed.
|
|
|
|
|
|
|
|
In CMake 3.17 and below, multiple calls to :command:`export` command with the
|
|
|
|
same ``FILE`` without ``APPEND`` are accepted silently but only the last
|
|
|
|
occurrence is taken into account during the generation.
|
|
|
|
|
|
|
|
The ``OLD`` behavior for this policy is to ignore the multiple occurrences of
|
|
|
|
:command:`export` command except the last one.
|
|
|
|
|
|
|
|
The ``NEW`` behavior of this policy is to raise an error on second call to
|
|
|
|
:command:`export` command with same ``FILE`` without ``APPEND``.
|
|
|
|
|
2024-04-14 22:45:38 +02:00
|
|
|
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.18
|
|
|
|
.. |WARNS_OR_DOES_NOT_WARN| replace:: warns
|
|
|
|
.. include:: STANDARD_ADVICE.txt
|
2020-08-30 11:54:41 +02:00
|
|
|
|
|
|
|
.. include:: DEPRECATED.txt
|