diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-03-27 21:40:43 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-03-27 21:40:43 (GMT) |
commit | d64600127b0f2c665c2d99a34a89ad977cb05c94 (patch) | |
tree | 1e55bcb3c2e46fcddd5e9558099306ca72ca7452 | |
parent | 7dcfdf5005adf43a13c48a917066d8bc115d0d96 (diff) | |
download | CMake-d64600127b0f2c665c2d99a34a89ad977cb05c94.zip CMake-d64600127b0f2c665c2d99a34a89ad977cb05c94.tar.gz CMake-d64600127b0f2c665c2d99a34a89ad977cb05c94.tar.bz2 |
COMP: fix warning about unused mf
-"make VERBOSE=1 <target>" should be more portable than
"VERBOSE=1 make <target>", since it doesn't rely on the shell, shouldn't it ?
Alex
-rw-r--r-- | Source/cmGlobalKdevelopGenerator.cxx | 15 | ||||
-rw-r--r-- | Source/cmGlobalKdevelopGenerator.h | 1 |
2 files changed, 3 insertions, 13 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx index 95db913..eb760c8 100644 --- a/Source/cmGlobalKdevelopGenerator.cxx +++ b/Source/cmGlobalKdevelopGenerator.cxx @@ -52,15 +52,6 @@ cmGlobalKdevelopGenerator::cmGlobalKdevelopGenerator() this->SupportedGlobalGenerators.push_back("Unix Makefiles"); } - -void cmGlobalKdevelopGenerator::SetGlobalGenerator( - cmGlobalGenerator* generator) -{ - cmExternalMakefileProjectGenerator::SetGlobalGenerator(generator); - cmGlobalUnixMakefileGenerator3* mf = (cmGlobalUnixMakefileGenerator3*) - generator; -} - void cmGlobalKdevelopGenerator::Generate() { // for each sub project in the project create @@ -478,9 +469,9 @@ void cmGlobalKdevelopGenerator " <abortonerror>false</abortonerror>\n" " <numberofjobs>1</numberofjobs>\n" " <dontact>false</dontact>\n" - " <makebin>VERBOSE=1 " << - this->GlobalGenerator->GetLocalGenerators()[0]->GetMakefile()-> - GetRequiredDefinition("CMAKE_BUILD_TOOL") << "</makebin>\n" + " <makebin>" << this->GlobalGenerator->GetLocalGenerators()[0]-> + GetMakefile()->GetRequiredDefinition("CMAKE_BUILD_TOOL") + << " VERBOSE=1 </makebin>\n" " <selectedenvironment>default</selectedenvironment>\n" " <environments>\n" " <default/>\n" diff --git a/Source/cmGlobalKdevelopGenerator.h b/Source/cmGlobalKdevelopGenerator.h index db990d5..babbc3c 100644 --- a/Source/cmGlobalKdevelopGenerator.h +++ b/Source/cmGlobalKdevelopGenerator.h @@ -37,7 +37,6 @@ class cmGlobalKdevelopGenerator : public cmExternalMakefileProjectGenerator { public: cmGlobalKdevelopGenerator(); - virtual void SetGlobalGenerator(cmGlobalGenerator* generator); virtual const char* GetName() const { return cmGlobalKdevelopGenerator::GetActualName();} |