summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0064.rst
blob: 4fd873f392c5de35adf42c167273aeaa062b11b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CMP0064
-------

.. versionadded:: 3.4

Recognize ``TEST`` as a operator for the :command:`if` command.

The ``TEST`` operator was added to the :command:`if` command to determine if a
given test name was created by the :command:`add_test` command.

The ``OLD`` behavior for this policy is to ignore the ``TEST`` operator.
The ``NEW`` behavior is to interpret the ``TEST`` operator.

.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.4
.. |WARNS_OR_DOES_NOT_WARN| replace:: warns
.. include:: STANDARD_ADVICE.txt

.. include:: DEPRECATED.txt