CMP0055.rst 684 B

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