CMP0064.rst 633 B

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