mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Factor out enum MessageType into dedicated header
Reduce the number of files relying on `cmake.h`.
This commit is contained in:
committed by
Brad King
parent
da566d4de8
commit
cc2a5261f8
@@ -5,8 +5,8 @@
|
||||
#include <sstream>
|
||||
|
||||
#include "cmMakefile.h"
|
||||
#include "cmMessageType.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
@@ -89,7 +89,7 @@ bool cmConfigureFileCommand::InitialPass(std::vector<std::string> const& args,
|
||||
if (!unknown_args.empty()) {
|
||||
std::string msg = "configure_file called with unknown argument(s):\n";
|
||||
msg += unknown_args;
|
||||
this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, msg);
|
||||
this->Makefile->IssueMessage(MessageType::AUTHOR_WARNING, msg);
|
||||
}
|
||||
|
||||
if (!this->ConfigureFile()) {
|
||||
|
||||
Reference in New Issue
Block a user