CTest does not by default tell
make to ignore errors (
build_command() commands no
longer generate build commands for Makefile Generators with
-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
make tool to be meaningless.
OLD behavior for this policy is to add
calls in CTest. The
NEW behavior for this policy is to not
This policy was introduced in CMake version 3.3. Unlike most policies, CMake version 3.6.2 does not warn when this policy is not set and simply uses OLD behavior.
OLD behavior of a policy is
deprecated by definition
and may be removed in a future version of CMake.