diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-03-27 19:33:09 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-03-27 19:33:09 (GMT) |
commit | 4f88f7e4deca19e5b3955c32c6d3f9f960a8ea01 (patch) | |
tree | 0a71536a21fca5988e6e03f790a7a17be82085b0 /Source | |
parent | e8b85ae12d306f8b982bc6588921831a3ca67daf (diff) | |
download | CMake-4f88f7e4deca19e5b3955c32c6d3f9f960a8ea01.zip CMake-4f88f7e4deca19e5b3955c32c6d3f9f960a8ea01.tar.gz CMake-4f88f7e4deca19e5b3955c32c6d3f9f960a8ea01.tar.bz2 |
ENH:
-enable colored output with the kdevelop generator
-create non-verbose makefiles and have kdevelop call "VERBOSE=1 make" instead
Alex
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalKdevelopGenerator.cxx | 8 |
1 files 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 " </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" |