1CMP0055
2-------
3
4.. versionadded:: 3.2
5
6Strict checking for the :command:`break` command.
7
8CMake 3.1 and lower allowed calls to the :command:`break` command
9outside of a loop context and also ignored any given arguments.
10This was undefined behavior.
11
12The ``OLD`` behavior for this policy is to allow :command:`break` to be placed
13outside of loop contexts and ignores any arguments.  The ``NEW`` behavior for this
14policy is to issue an error if a misplaced break or any arguments are found.
15
16This policy was introduced in CMake version 3.2.
17CMake version |release| warns when the policy is not set and uses
18``OLD`` behavior.  Use the :command:`cmake_policy` command to set it to ``OLD`` or
19``NEW`` explicitly.
20
21.. include:: DEPRECATED.txt
22