1CMP0061
2-------
3
4.. versionadded:: 3.3
5
6CTest does not by default tell ``make`` to ignore errors (``-i``).
7
8The :command:`ctest_build` and :command:`build_command` commands no
9longer generate build commands for :ref:`Makefile Generators` with
10the ``-i`` option.  Previously this was done to help build as much
11of tested projects as possible.  However, this behavior is not
12consistent with other generators and also causes the return code
13of the ``make`` tool to be meaningless.
14
15Of course users may still add this option manually by setting
16:variable:`CTEST_BUILD_COMMAND` or the ``MAKECOMMAND`` cache entry.
17See the :ref:`CTest Build Step` ``MakeCommand`` setting documentation
18for their effects.
19
20The ``OLD`` behavior for this policy is to add ``-i`` to ``make``
21calls in CTest.  The ``NEW`` behavior for this policy is to not
22add ``-i``.
23
24This policy was introduced in CMake version 3.3.  Unlike most policies,
25CMake version |release| does *not* warn when this policy is not set and
26simply uses ``OLD`` behavior.
27
28.. include:: DEPRECATED.txt
29