CMP0007.rst 693 B

1234567891011121314151617
  1. CMP0007
  2. -------
  3. list command no longer ignores empty elements.
  4. This policy determines whether the list command will ignore empty
  5. elements in the list. CMake 2.4 and below list commands ignored all
  6. empty elements in the list. For example, ``a;b;;c`` would have length 3
  7. and not 4. The ``OLD`` behavior for this policy is to ignore empty list
  8. elements. The ``NEW`` behavior for this policy is to correctly count
  9. empty elements in a list.
  10. This policy was introduced in CMake version 2.6.0. CMake version
  11. |release| warns when the policy is not set and uses ``OLD`` behavior. Use
  12. the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
  13. .. include:: DEPRECATED.txt