[Cmake-commits] [cmake-commits] alex committed cmExtraCodeBlocksGenerator.cxx 1.18 1.19

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Aug 16 16:48:44 EDT 2008


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

Modified Files:
	cmExtraCodeBlocksGenerator.cxx 
Log Message:
STYLE: remove some commented code

Alex


Index: cmExtraCodeBlocksGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmExtraCodeBlocksGenerator.cxx,v
retrieving revision 1.18
retrieving revision 1.19
diff -C 2 -d -r1.18 -r1.19
*** cmExtraCodeBlocksGenerator.cxx	25 Nov 2007 12:45:18 -0000	1.18
--- cmExtraCodeBlocksGenerator.cxx	16 Aug 2008 20:48:42 -0000	1.19
***************
*** 94,99 ****
  
  
! /* create the project file, if it already exists, merge it with the
! existing one, otherwise create a new one */
  void cmExtraCodeBlocksGenerator::CreateProjectFile(
                                       const std::vector<cmLocalGenerator*>& lgs)
--- 94,98 ----
  
  
! /* create the project file */
  void cmExtraCodeBlocksGenerator::CreateProjectFile(
                                       const std::vector<cmLocalGenerator*>& lgs)
***************
*** 101,105 ****
    const cmMakefile* mf=lgs[0]->GetMakefile();
    std::string outputDir=mf->GetStartOutputDirectory();
-   std::string projectDir=mf->GetHomeDirectory();
    std::string projectName=mf->GetProjectName();
  
--- 100,103 ----
***************
*** 109,122 ****
    sessionFilename+=projectName+".layout";
  
! /*  if (cmSystemTools::FileExists(filename.c_str()))
!     {
!     this->MergeProjectFiles(outputDir, projectDir, filename,
!                             cmakeFilePattern, sessionFilename);
!     }
!   else */
!     {
!     this->CreateNewProjectFile(lgs, filename);
!     }
! 
  }
  
--- 107,111 ----
    sessionFilename+=projectName+".layout";
  
!   this->CreateNewProjectFile(lgs, filename);
  }
  



More information about the Cmake-commits mailing list