ENH: make it possible to disable debug output again

Alex
This commit is contained in:
Alexander Neundorf 2008-04-02 17:29:25 -04:00
parent 1e61bb1f4c
commit 6292341841
2 changed files with 2 additions and 2 deletions

View File

@ -618,7 +618,7 @@ void cmake::SetArgs(const std::vector<std::string>& args)
else if(arg.find("--debug-output",0) == 0) else if(arg.find("--debug-output",0) == 0)
{ {
std::cout << "Running with debug output on.\n"; std::cout << "Running with debug output on.\n";
this->DebugOutputOn(); this->SetDebugOutputOn(true);
} }
else if(arg.find("-G",0) == 0) else if(arg.find("-G",0) == 0)
{ {

View File

@ -317,7 +317,7 @@ class cmake
// Do we want debug output during the cmake run. // Do we want debug output during the cmake run.
bool GetDebugOutput() { return this->DebugOutput; } bool GetDebugOutput() { return this->DebugOutput; }
void DebugOutputOn() { this->DebugOutput = true;} void SetDebugOutputOn(bool b) { this->DebugOutput = b;}
// Define a property // Define a property
void DefineProperty(const char *name, cmProperty::ScopeType scope, void DefineProperty(const char *name, cmProperty::ScopeType scope,