Просмотр исходного кода

Merge topic 'doc-cmp0082'

ce730e9c22 Help: Clarify policy CMP0082 documentation

Acked-by: Kitware Robot <[email protected]>
Merge-request: !3133
Brad King 6 лет назад
Родитель
Сommit
c63bd7e06c
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      Help/policy/CMP0082.rst

+ 5 - 3
Help/policy/CMP0082.rst

@@ -6,9 +6,11 @@ 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.
+before the other install rules.  CMake 3.14 and above prefer to interleave
+these :command:`add_subdirectory` install rules with the others so that
+they are run in the order they are declared.  This policy provides
+compatibility for projects that have not been updated to expect the
+new behavior.
 
 The ``OLD`` behavior for this policy is to run the install rules from
 :command:`add_subdirectory` after the other install rules.  The ``NEW``