Sha256: 6c3e1c90bacb4fef7a32b9d6b63bb6af79ab8d574e04d734d363a7d131a8d9c2

Contents?: true

Size: 1022 Bytes

Versions: 1

Compression:

Stored size: 1022 Bytes

Contents

CMP0061
-------

CTest does not by default tell ``make`` to ignore errors (``-i``).

The :command:`ctest_build` and :command:`build_command` commands no
longer generate build commands for :ref:`Makefile Generators` with
the ``-i`` option.  Previously this was done to help build as much
of tested projects as possible.  However, this behavior is not
consistent with other generators and also causes the return code
of the ``make`` tool to be meaningless.

Of course users may still add this option manually by setting
:variable:`CTEST_BUILD_COMMAND` or the ``MAKECOMMAND`` cache entry.
See the :ref:`CTest Build Step` ``MakeCommand`` setting documentation
for their effects.

The ``OLD`` behavior for this policy is to add ``-i`` to ``make``
calls in CTest.  The ``NEW`` behavior for this policy is to not
add ``-i``.

This policy was introduced in CMake version 3.3.  Unlike most policies,
CMake version |release| does *not* warn when this policy is not set and
simply uses ``OLD`` behavior.

.. include:: DEPRECATED.txt

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zxing_cpp_no_cmake-0.1.2 ext/zxing/cmake/share/cmake-3.16/Help/policy/CMP0061.rst