-enable colored output with the kdevelop generator
-create non-verbose makefiles and have kdevelop call "VERBOSE=1 make" instead

Alex
This commit is contained in:
Alexander Neundorf 2008-03-27 15:33:09 -04:00
parent e8b85ae12d
commit 4f88f7e4de
1 changed files with 4 additions and 4 deletions

View File

@ -59,8 +59,6 @@ void cmGlobalKdevelopGenerator::SetGlobalGenerator(
cmExternalMakefileProjectGenerator::SetGlobalGenerator(generator);
cmGlobalUnixMakefileGenerator3* mf = (cmGlobalUnixMakefileGenerator3*)
generator;
mf->SetToolSupportsColor(false);
mf->SetForceVerboseMakefiles(true);
}
void cmGlobalKdevelopGenerator::Generate()
@ -474,13 +472,15 @@ void cmGlobalKdevelopGenerator
" </run>\n"
" <build>\n"
" <buildtool>make</buildtool>\n"; //this one is important
fout<<" <builddir>"<<outputDir.c_str()<<"</builddir>\n"; //and this one
fout<<" <builddir>"<<outputDir.c_str()<<"</builddir>\n"; //and this one
fout<<" </build>\n"
" <make>\n"
" <abortonerror>false</abortonerror>\n"
" <numberofjobs>1</numberofjobs>\n"
" <dontact>false</dontact>\n"
" <makebin></makebin>\n"
" <makebin>VERBOSE=1 " <<
this->GlobalGenerator->GetLocalGenerators()[0]->GetMakefile()->
GetRequiredDefinition("CMAKE_BUILD_TOOL") << "</makebin>\n"
" <selectedenvironment>default</selectedenvironment>\n"
" <environments>\n"
" <default/>\n"