summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index b679ff4..33309e1 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -25,6 +25,7 @@
#include "cmPropertyMap.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
+#include "cmake.h"
#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmSourceGroup.h"
@@ -784,9 +785,8 @@ public:
void PopScope();
void RaiseScope(const char *var, const char *value);
- /** Issue messages with the given text plus context information. */
- void IssueWarning(std::string const& msg) const;
- void IssueError(std::string const& msg) const;
+ void IssueMessage(cmake::MessageType t,
+ std::string const& text) const;
protected:
// add link libraries and directories to the target
@@ -891,8 +891,6 @@ private:
CallStackType CallStack;
friend class cmMakefileCall;
- void IssueMessage(std::string const& text, bool isError) const;
-
cmTarget* FindBasicTarget(const char* name);
std::vector<cmTarget*> ImportedTargetsOwned;
std::map<cmStdString, cmTarget*> ImportedTargets;