[Cmake-commits] [cmake-commits] alex committed cmGlobalKdevelopGenerator.cxx 1.29 1.30

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Mar 27 15:33:11 EDT 2008


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

Modified Files:
	cmGlobalKdevelopGenerator.cxx 
Log Message:
ENH: 
-enable colored output with the kdevelop generator
-create non-verbose makefiles and have kdevelop call "VERBOSE=1 make" instead

Alex


Index: cmGlobalKdevelopGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalKdevelopGenerator.cxx,v
retrieving revision 1.29
retrieving revision 1.30
diff -C 2 -d -r1.29 -r1.30
*** cmGlobalKdevelopGenerator.cxx	22 Oct 2007 17:28:49 -0000	1.29
--- cmGlobalKdevelopGenerator.cxx	27 Mar 2008 19:33:09 -0000	1.30
***************
*** 60,65 ****
    cmGlobalUnixMakefileGenerator3* mf = (cmGlobalUnixMakefileGenerator3*)
                                                                       generator;
-   mf->SetToolSupportsColor(false);
-   mf->SetForceVerboseMakefiles(true);
  }
  
--- 60,63 ----
***************
*** 475,479 ****
          "    <build>\n"
          "      <buildtool>make</buildtool>\n"; //this one is important
!   fout<<"      <builddir>"<<outputDir.c_str()<<"</builddir>\n"; //and this one
    fout<<"    </build>\n"
          "    <make>\n"
--- 473,477 ----
          "    <build>\n"
          "      <buildtool>make</buildtool>\n"; //this one is important
!   fout<<"      <builddir>"<<outputDir.c_str()<<"</builddir>\n";  //and this one
    fout<<"    </build>\n"
          "    <make>\n"
***************
*** 481,485 ****
          "      <numberofjobs>1</numberofjobs>\n"
          "      <dontact>false</dontact>\n"
!         "      <makebin></makebin>\n"
          "      <selectedenvironment>default</selectedenvironment>\n"
          "      <environments>\n"
--- 479,485 ----
          "      <numberofjobs>1</numberofjobs>\n"
          "      <dontact>false</dontact>\n"
!         "      <makebin>VERBOSE=1 " << 
!             this->GlobalGenerator->GetLocalGenerators()[0]->GetMakefile()->
!             GetRequiredDefinition("CMAKE_BUILD_TOOL") << "</makebin>\n"
          "      <selectedenvironment>default</selectedenvironment>\n"
          "      <environments>\n"



More information about the Cmake-commits mailing list