mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-16 12:11:04 -06:00
Every policy's documentation has a paragraph on what version of CMake introduced it, how to set the policy, and whether CMake warns if the policy is not set. The wording of this paragraph has diverged across policies over time. Factor the paragraph out into a standard advice document included by every policy.
18 lines
598 B
ReStructuredText
18 lines
598 B
ReStructuredText
CMP0007
|
|
-------
|
|
|
|
list command no longer ignores empty elements.
|
|
|
|
This policy determines whether the list command will ignore empty
|
|
elements in the list. CMake 2.4 and below list commands ignored all
|
|
empty elements in the list. For example, ``a;b;;c`` would have length 3
|
|
and not 4. The ``OLD`` behavior for this policy is to ignore empty list
|
|
elements. The ``NEW`` behavior for this policy is to correctly count
|
|
empty elements in a list.
|
|
|
|
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 2.6.0
|
|
.. |WARNS_OR_DOES_NOT_WARN| replace:: warns
|
|
.. include:: STANDARD_ADVICE.txt
|
|
|
|
.. include:: DEPRECATED.txt
|