diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-11 14:29:56 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-11 14:29:56 (GMT) |
commit | dc9245df6cbe4ed6211387f6090b531ce4414263 (patch) | |
tree | b22a893cd7b52a64a86663c0e164e1d63ec9119f /Source/cmMakefile.h | |
parent | 9d4730f4413a216e8172aa4a24705a388d36f076 (diff) | |
download | CMake-dc9245df6cbe4ed6211387f6090b531ce4414263.zip CMake-dc9245df6cbe4ed6211387f6090b531ce4414263.tar.gz CMake-dc9245df6cbe4ed6211387f6090b531ce4414263.tar.bz2 |
ENH: add enum to IssueMessage
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 8 |
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; |