mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Every policy's documentation has a paragraph on what version of CMake introduced it, how to set the policy, and whether CMake warns if the policy is not set. The wording of this paragraph has diverged across policies over time. Factor the paragraph out into a standard advice document included by every policy.
29 lines
1005 B
ReStructuredText
29 lines
1005 B
ReStructuredText
CMP0061
|
|
-------
|
|
|
|
.. versionadded:: 3.3
|
|
|
|
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``.
|
|
|
|
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.3
|
|
.. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn
|
|
.. include:: STANDARD_ADVICE.txt
|
|
|
|
.. include:: DEPRECATED.txt
|