diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-04-02 21:29:25 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-04-02 21:29:25 (GMT) |
commit | 6292341841c17af7932d27a21404efef4c9c4b5e (patch) | |
tree | 7a3c8d1604cbcc9a7858742bb5a493f375eaf2e6 /Source | |
parent | 1e61bb1f4c19f6ed474abe4ab8415ac2a60e6b22 (diff) | |
download | CMake-6292341841c17af7932d27a21404efef4c9c4b5e.zip CMake-6292341841c17af7932d27a21404efef4c9c4b5e.tar.gz CMake-6292341841c17af7932d27a21404efef4c9c4b5e.tar.bz2 |
ENH: make it possible to disable debug output again
Alex
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmake.cxx | 2 | ||||
-rw-r--r-- | Source/cmake.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 88aed1d..5256fd0 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -618,7 +618,7 @@ void cmake::SetArgs(const std::vector<std::string>& args) else if(arg.find("--debug-output",0) == 0) { std::cout << "Running with debug output on.\n"; - this->DebugOutputOn(); + this->SetDebugOutputOn(true); } else if(arg.find("-G",0) == 0) { diff --git a/Source/cmake.h b/Source/cmake.h index 3f0c598..c1e9a72 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -317,7 +317,7 @@ class cmake // Do we want debug output during the cmake run. bool GetDebugOutput() { return this->DebugOutput; } - void DebugOutputOn() { this->DebugOutput = true;} + void SetDebugOutputOn(bool b) { this->DebugOutput = b;} // Define a property void DefineProperty(const char *name, cmProperty::ScopeType scope, |