cmBreakCommand.h 556 B

123456789101112131415161718192021
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmBreakCommand_h
  4. #define cmBreakCommand_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include <string>
  7. #include <vector>
  8. class cmExecutionStatus;
  9. /**
  10. * \brief Break from an enclosing foreach or while loop
  11. *
  12. * cmBreakCommand returns from an enclosing foreach or while loop
  13. */
  14. bool cmBreakCommand(std::vector<std::string> const& args,
  15. cmExecutionStatus& status);
  16. #endif