mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05: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
@@ -7,6 +7,7 @@
|
||||
#include "cmExecutionStatus.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmMessageType.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmVariableWatch.h"
|
||||
#include "cmake.h"
|
||||
@@ -70,7 +71,7 @@ static void cmVariableWatchCommandVariableAccessed(const std::string& variable,
|
||||
msg << "Variable \"" << variable << "\" was accessed using "
|
||||
<< accessString << " with value \"" << (newValue ? newValue : "")
|
||||
<< "\".";
|
||||
makefile->IssueMessage(cmake::LOG, msg.str());
|
||||
makefile->IssueMessage(MessageType::LOG, msg.str());
|
||||
}
|
||||
|
||||
data->InCallback = false;
|
||||
|
||||
Reference in New Issue
Block a user