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