https://github.com/Kitware/CMake
Raw File
Tip revision: 0cd5300665fdbb68c32e318e5ca423854716c7a7 authored by Brad King on 20 June 2023, 17:11:25 UTC
CMake 3.27.0-rc3
Tip revision: 0cd5300
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