From 4f88f7e4deca19e5b3955c32c6d3f9f960a8ea01 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 27 Mar 2008 15:33:09 -0400 Subject: ENH: -enable colored output with the kdevelop generator -create non-verbose makefiles and have kdevelop call "VERBOSE=1 make" instead Alex --- Source/cmGlobalKdevelopGenerator.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx index 98a9d15..95db913 100644 --- a/Source/cmGlobalKdevelopGenerator.cxx +++ b/Source/cmGlobalKdevelopGenerator.cxx @@ -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 " \n" " \n" " make\n"; //this one is important - fout<<" "<\n"; //and this one + fout<<" "<\n"; //and this one fout<<" \n" " \n" " false\n" " 1\n" " false\n" - " \n" + " VERBOSE=1 " << + this->GlobalGenerator->GetLocalGenerators()[0]->GetMakefile()-> + GetRequiredDefinition("CMAKE_BUILD_TOOL") << "\n" " default\n" " \n" " \n" -- cgit v0.12