[Cmake-commits] [cmake-commits] alex committed cmExtraCodeBlocksGenerator.cxx 1.25 1.26

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jul 7 14:02:24 EDT 2009


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

Modified Files:
	cmExtraCodeBlocksGenerator.cxx 
Log Message:
ENH: get the build type specific location

Alex


Index: cmExtraCodeBlocksGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmExtraCodeBlocksGenerator.cxx,v
retrieving revision 1.25
retrieving revision 1.26
diff -C 2 -d -r1.25 -r1.26
*** cmExtraCodeBlocksGenerator.cxx	29 Jun 2009 18:27:45 -0000	1.25
--- cmExtraCodeBlocksGenerator.cxx	7 Jul 2009 18:02:22 -0000	1.26
***************
*** 559,563 ****
      {
      int cbTargetType = this->GetCBTargetType(target);
!     fout<<"         <Option output=\"" << target->GetLocation(0) 
                              << "\" prefix_auto=\"0\" extension_auto=\"0\" />\n"
            "         <Option working_dir=\"" 
--- 559,564 ----
      {
      int cbTargetType = this->GetCBTargetType(target);
!     const char* buildType = makefile->GetDefinition("CMAKE_BUILD_TYPE");
!     fout<<"         <Option output=\"" << target->GetLocation(buildType)
                              << "\" prefix_auto=\"0\" extension_auto=\"0\" />\n"
            "         <Option working_dir=\"" 



More information about the Cmake-commits mailing list