CMP0082.rst 1019 B

123456789101112131415161718192021222324
  1. CMP0082
  2. -------
  3. Install rules from :command:`add_subdirectory` calls are interleaved with
  4. those in caller.
  5. CMake 3.13 and lower ran the install rules from :command:`add_subdirectory`
  6. after all other install rules, even if :command:`add_subdirectory` was called
  7. before the other install rules. CMake 3.14 and later interleaves these
  8. :command:`add_subdirectory` install rules with the others so that they are
  9. run in the order they are declared.
  10. The ``OLD`` behavior for this policy is to run the install rules from
  11. :command:`add_subdirectory` after the other install rules. The ``NEW``
  12. behavior for this policy is to run all install rules in the order they are
  13. declared.
  14. This policy was introduced in CMake version 3.14. Unlike most policies,
  15. CMake version |release| does *not* warn by default when this policy
  16. is not set and simply uses OLD behavior. See documentation of the
  17. :variable:`CMAKE_POLICY_WARNING_CMP0082 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
  18. variable to control the warning.
  19. .. include:: DEPRECATED.txt