diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-06 15:11:59 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-06 15:11:59 (GMT) |
commit | 017cec95ada69369e3959cc9c09248335ea2dbfa (patch) | |
tree | 8605887f13d7632a16e94899ad5fdc955aa990a9 /Source/cmake.h | |
parent | 7f7374e8189871289b604fcc8f109411bca793dd (diff) | |
download | CMake-017cec95ada69369e3959cc9c09248335ea2dbfa.zip CMake-017cec95ada69369e3959cc9c09248335ea2dbfa.tar.gz CMake-017cec95ada69369e3959cc9c09248335ea2dbfa.tar.bz2 |
ENH: do not print a call stack if the user does a message error unless --debug-output is used
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index d63cf7e..643dfec 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -281,6 +281,9 @@ class cmake const char* GetCPackCommand(); const char* GetCMakeCommand() { return this->CMakeCommand.c_str(); } + // Do we want debug output during the cmake run. + bool GetDebugOutput() { return this->DebugOutput; } + void DebugOutputOn() { this->DebugOutput = true;} protected: typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)(); typedef std::map<cmStdString, @@ -326,13 +329,14 @@ protected: static int ExecuteLinkScript(std::vector<std::string>& args); cmVariableWatch* VariableWatch; - + private: ProgressCallbackType ProgressCallback; void* ProgressCallbackClientData; bool Verbose; bool InTryCompile; bool ScriptMode; + bool DebugOutput; std::string CMakeCommand; std::string CXXEnvironment; std::string CCEnvironment; |