https://github.com/Kitware/CMake
Raw File
Tip revision: 4a382aa8dd1201118d2c2fcc7e87732e665dffc8 authored by Kitware Robot on 17 July 2024, 04:01:10 UTC
CMake Nightly Date Stamp
Tip revision: 4a382aa
cmBreakCommand.h
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#pragma once

#include "cmConfigure.h" // IWYU pragma: keep

#include <string>
#include <vector>

class cmExecutionStatus;

/**
 * \brief Break from an enclosing foreach or while loop
 *
 * cmBreakCommand returns from an enclosing foreach or while loop
 */
bool cmBreakCommand(std::vector<std::string> const& args,
                    cmExecutionStatus& status);
back to top