summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0082.rst
blob: 7b2ef04f06941ff8ed364434ae768ff25d08de17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CMP0082
-------

Install rules from :command:`add_subdirectory` calls are interleaved with
those in caller.

CMake 3.13 and lower ran the install rules from :command:`add_subdirectory`
after all other install rules, even if :command:`add_subdirectory` was called
before the other install rules.  CMake 3.14 and later interleaves these
:command:`add_subdirectory` install rules with the others so that they are
run in the order they are declared.

The ``OLD`` behavior for this policy is to run the install rules from
:command:`add_subdirectory` after the other install rules.  The ``NEW``
behavior for this policy is to run all install rules in the order they are
declared.

This policy was introduced in CMake version 3.14.  Unlike most policies,
CMake version |release| does *not* warn by default when this policy
is not set and simply uses OLD behavior.  See documentation of the
:variable:`CMAKE_POLICY_WARNING_CMP0082 <CMAKE_POLICY_WARNING_CMP<NNNN>>`
variable to control the warning.

.. include:: DEPRECATED.txt