CMP0064.rst 610 B

1234567891011121314151617
  1. CMP0064
  2. -------
  3. Recognize ``TEST`` as a operator for the :command:`if` command.
  4. The ``TEST`` operator was added to the :command:`if` command to determine if a
  5. given test name was created by the :command:`add_test` command.
  6. The ``OLD`` behavior for this policy is to ignore the ``TEST`` operator.
  7. The ``NEW`` behavior is to interpret the ``TEST`` operator.
  8. This policy was introduced in CMake version 3.4. CMake version
  9. |release| warns when the policy is not set and uses ``OLD`` behavior. Use
  10. the :command:`cmake_policy()` command to set it to ``OLD`` or ``NEW``
  11. explicitly.
  12. .. include:: DEPRECATED.txt