[Cmake-commits] [cmake-commits] alex committed cmake.h 1.112 1.113 cmake.cxx 1.380 1.381

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Apr 2 17:29:27 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv20642

Modified Files:
	cmake.h cmake.cxx 
Log Message:
ENH: make it possible to disable debug output again

Alex


Index: cmake.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.h,v
retrieving revision 1.112
retrieving revision 1.113
diff -C 2 -d -r1.112 -r1.113
*** cmake.h	29 Mar 2008 17:16:02 -0000	1.112
--- cmake.h	2 Apr 2008 21:29:25 -0000	1.113
***************
*** 318,322 ****
    // Do we want debug output during the cmake run.
    bool GetDebugOutput() { return this->DebugOutput; }
!   void DebugOutputOn() { this->DebugOutput = true;}
  
    // Define a property
--- 318,322 ----
    // Do we want debug output during the cmake run.
    bool GetDebugOutput() { return this->DebugOutput; }
!   void SetDebugOutputOn(bool b) { this->DebugOutput = b;}
  
    // Define a property

Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.380
retrieving revision 1.381
diff -C 2 -d -r1.380 -r1.381
*** cmake.cxx	28 Mar 2008 18:29:29 -0000	1.380
--- cmake.cxx	2 Apr 2008 21:29:25 -0000	1.381
***************
*** 619,623 ****
        {
        std::cout << "Running with debug output on.\n";
!       this->DebugOutputOn();
        }
      else if(arg.find("-G",0) == 0)
--- 619,623 ----
        {
        std::cout << "Running with debug output on.\n";
!       this->SetDebugOutputOn(true);
        }
      else if(arg.find("-G",0) == 0)



More information about the Cmake-commits mailing list