diff options
author | Bruno Manganelli <bruno.manga95@gmail.com> | 2018-11-22 03:36:50 +0000 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-16 08:16:31 -0500 |
commit | cc2a5261f82c21e15899bba0d9b508fcacda7879 (patch) | |
tree | 38d9e0113178cd43c7f42898392452b6a8e8e84a /Source/cmMessageType.h | |
parent | da566d4de885130e182edc80f13691f5ca24bb61 (diff) | |
download | cmake-cc2a5261f82c21e15899bba0d9b508fcacda7879.tar.gz |
Factor out enum MessageType into dedicated header
Reduce the number of files relying on `cmake.h`.
Diffstat (limited to 'Source/cmMessageType.h')
-rw-r--r-- | Source/cmMessageType.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Source/cmMessageType.h b/Source/cmMessageType.h new file mode 100644 index 0000000000..b57b86bee5 --- /dev/null +++ b/Source/cmMessageType.h @@ -0,0 +1,21 @@ +/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying + file Copyright.txt or https://cmake.org/licensing for details. */ +#ifndef cmMessageType_h +#define cmMessageType_h + +#include "cmConfigure.h" // IWYU pragma: keep + +enum class MessageType +{ + AUTHOR_WARNING, + AUTHOR_ERROR, + FATAL_ERROR, + INTERNAL_ERROR, + MESSAGE, + WARNING, + LOG, + DEPRECATION_ERROR, + DEPRECATION_WARNING +}; + +#endif |