mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 20:29:49 -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
@@ -6,9 +6,9 @@
|
||||
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmMessageType.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
@@ -84,7 +84,7 @@ bool cmBuildCommand::MainSignature(std::vector<std::string> const& args)
|
||||
|
||||
if (!project_name.empty()) {
|
||||
this->Makefile->IssueMessage(
|
||||
cmake::AUTHOR_WARNING,
|
||||
MessageType::AUTHOR_WARNING,
|
||||
"Ignoring PROJECT_NAME option because it has no effect.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user