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