diff options
author | Haibo Huang <hhb@google.com> | 2020-02-28 16:35:48 -0800 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2020-02-29 16:45:16 +0000 |
commit | d00577c9d4ee9a42fb5158f49a1ebce8047b0bd8 (patch) | |
tree | b2c7fc3ccfe35e3c897e875dd5057b2acebdf1a2 /share/cmake-3.10/Help/policy/CMP0023.rst | |
parent | fc59035d8c856055f2a263dc8a2f9de96c959cc2 (diff) | |
download | darwin-x86-d00577c9d4ee9a42fb5158f49a1ebce8047b0bd8.tar.gz |
Upgrade cmake to 3.16 for Darwin
Built at http://fusion-qa/2a43409b-4fa3-4de7-93f3-e63e0b5fbacd
One difference here is that ninja and android.toolchain.cmake are not
included.
Users should sync from prebuilts/ninja or external/android-cmake
directly.
Bug: 149782024
Change-Id: I999781a5641532e0c432ea28eccde23c0d7c063c
Diffstat (limited to 'share/cmake-3.10/Help/policy/CMP0023.rst')
-rw-r--r-- | share/cmake-3.10/Help/policy/CMP0023.rst | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/share/cmake-3.10/Help/policy/CMP0023.rst b/share/cmake-3.10/Help/policy/CMP0023.rst deleted file mode 100644 index 76a4900..0000000 --- a/share/cmake-3.10/Help/policy/CMP0023.rst +++ /dev/null @@ -1,35 +0,0 @@ -CMP0023 -------- - -Plain and keyword target_link_libraries signatures cannot be mixed. - -CMake 2.8.12 introduced the target_link_libraries signature using the -PUBLIC, PRIVATE, and INTERFACE keywords to generalize the LINK_PUBLIC -and LINK_PRIVATE keywords introduced in CMake 2.8.7. Use of -signatures with any of these keywords sets the link interface of a -target explicitly, even if empty. This produces confusing behavior -when used in combination with the historical behavior of the plain -target_link_libraries signature. For example, consider the code: - -:: - - target_link_libraries(mylib A) - target_link_libraries(mylib PRIVATE B) - -After the first line the link interface has not been set explicitly so -CMake would use the link implementation, A, as the link interface. -However, the second line sets the link interface to empty. In order -to avoid this subtle behavior CMake now prefers to disallow mixing the -plain and keyword signatures of target_link_libraries for a single -target. - -The OLD behavior for this policy is to allow keyword and plain -target_link_libraries signatures to be mixed. The NEW behavior for -this policy is to not to allow mixing of the keyword and plain -signatures. - -This policy was introduced in CMake version 2.8.12. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt |