[Cmake-commits] [cmake-commits] hoffman committed CMakeSetupDialog.cpp 1.125 1.126

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Mar 11 23:01:44 EDT 2008


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

Modified Files:
	CMakeSetupDialog.cpp 
Log Message:
ENH: fix dumb MS warning about BOOL and performance with more code


Index: CMakeSetupDialog.cpp
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/MFCDialog/CMakeSetupDialog.cpp,v
retrieving revision 1.125
retrieving revision 1.126
diff -C 2 -d -r1.125 -r1.126
*** CMakeSetupDialog.cpp	12 Mar 2008 02:51:56 -0000	1.125
--- CMakeSetupDialog.cpp	12 Mar 2008 03:01:41 -0000	1.126
***************
*** 676,680 ****
      m_CMakeInstance->SetCMakeCommand(m_PathToExecutable);
      m_CMakeInstance->LoadCache();
!     m_CMakeInstance->SetSuppressDevWarnings(m_SuppressDevValue);
      if(m_CMakeInstance->Configure() != 0)
        {
--- 676,687 ----
      m_CMakeInstance->SetCMakeCommand(m_PathToExecutable);
      m_CMakeInstance->LoadCache();
!     if(m_SuppressDevValue)
!       {
!       m_CMakeInstance->SetSuppressDevWarnings(true);
!       }
!     else
!       {
!       m_CMakeInstance->SetSuppressDevWarnings(false);
!       }
      if(m_CMakeInstance->Configure() != 0)
        {



More information about the Cmake-commits mailing list