ENH:
-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:
parent
e8b85ae12d
commit
4f88f7e4de
|
@ -59,8 +59,6 @@ void cmGlobalKdevelopGenerator::SetGlobalGenerator(
|
||||||
cmExternalMakefileProjectGenerator::SetGlobalGenerator(generator);
|
cmExternalMakefileProjectGenerator::SetGlobalGenerator(generator);
|
||||||
cmGlobalUnixMakefileGenerator3* mf = (cmGlobalUnixMakefileGenerator3*)
|
cmGlobalUnixMakefileGenerator3* mf = (cmGlobalUnixMakefileGenerator3*)
|
||||||
generator;
|
generator;
|
||||||
mf->SetToolSupportsColor(false);
|
|
||||||
mf->SetForceVerboseMakefiles(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void cmGlobalKdevelopGenerator::Generate()
|
void cmGlobalKdevelopGenerator::Generate()
|
||||||
|
@ -474,13 +472,15 @@ void cmGlobalKdevelopGenerator
|
||||||
" </run>\n"
|
" </run>\n"
|
||||||
" <build>\n"
|
" <build>\n"
|
||||||
" <buildtool>make</buildtool>\n"; //this one is important
|
" <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"
|
fout<<" </build>\n"
|
||||||
" <make>\n"
|
" <make>\n"
|
||||||
" <abortonerror>false</abortonerror>\n"
|
" <abortonerror>false</abortonerror>\n"
|
||||||
" <numberofjobs>1</numberofjobs>\n"
|
" <numberofjobs>1</numberofjobs>\n"
|
||||||
" <dontact>false</dontact>\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"
|
" <selectedenvironment>default</selectedenvironment>\n"
|
||||||
" <environments>\n"
|
" <environments>\n"
|
||||||
" <default/>\n"
|
" <default/>\n"
|
||||||
|
|
Loading…
Reference in New Issue