CMP0103.rst 792 B

1234567891011121314151617181920212223
  1. CMP0103
  2. -------
  3. .. versionadded:: 3.18
  4. Multiple calls to :command:`export` command with same ``FILE`` without
  5. ``APPEND`` is no longer allowed.
  6. In CMake 3.17 and below, multiple calls to :command:`export` command with the
  7. same ``FILE`` without ``APPEND`` are accepted silently but only the last
  8. occurrence is taken into account during the generation.
  9. The ``OLD`` behavior for this policy is to ignore the multiple occurrences of
  10. :command:`export` command except the last one.
  11. The ``NEW`` behavior of this policy is to raise an error on second call to
  12. :command:`export` command with same ``FILE`` without ``APPEND``.
  13. .. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.18
  14. .. |WARNS_OR_DOES_NOT_WARN| replace:: warns
  15. .. include:: include/STANDARD_ADVICE.rst
  16. .. include:: include/DEPRECATED.rst