mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Add command to manipulate the new diagnostic stack/state introduced in the previous commit. Start adding documentation for the system as a whole.
19 lines
530 B
C++
19 lines
530 B
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file LICENSE.rst or https://cmake.org/licensing for details. */
|
|
#pragma once
|
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class cmExecutionStatus;
|
|
|
|
/**
|
|
* \brief Set how CMake should handle diagnostics
|
|
*
|
|
* cmCMakeDiagnosticCommand sets how CMake should deal with diagnostics.
|
|
*/
|
|
bool cmCMakeDiagnosticCommand(std::vector<std::string> const& args,
|
|
cmExecutionStatus& status);
|