
``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
45 lines
674 B
C++
45 lines
674 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
|
|
|
|
enum class MessageType
|
|
{
|
|
UNDEFINED,
|
|
AUTHOR_WARNING,
|
|
AUTHOR_ERROR,
|
|
FATAL_ERROR,
|
|
INTERNAL_ERROR,
|
|
MESSAGE,
|
|
WARNING,
|
|
LOG,
|
|
DEPRECATION_ERROR,
|
|
DEPRECATION_WARNING
|
|
};
|
|
|
|
namespace Message {
|
|
|
|
/** \brief Define log level constants. */
|
|
enum class LogLevel
|
|
{
|
|
LOG_UNDEFINED,
|
|
LOG_ERROR,
|
|
LOG_WARNING,
|
|
LOG_NOTICE,
|
|
LOG_STATUS,
|
|
LOG_VERBOSE,
|
|
LOG_DEBUG,
|
|
LOG_TRACE
|
|
};
|
|
|
|
enum class CheckType
|
|
{
|
|
UNDEFINED,
|
|
CHECK_START,
|
|
CHECK_PASS,
|
|
CHECK_FAIL
|
|
};
|
|
|
|
}
|