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
This commit is contained in:
parent
7dcfdf5005
commit
d64600127b
@ -52,15 +52,6 @@ cmGlobalKdevelopGenerator::cmGlobalKdevelopGenerator()
|
|||||||
this->SupportedGlobalGenerators.push_back("Unix Makefiles");
|
this->SupportedGlobalGenerators.push_back("Unix Makefiles");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void cmGlobalKdevelopGenerator::SetGlobalGenerator(
|
|
||||||
cmGlobalGenerator* generator)
|
|
||||||
{
|
|
||||||
cmExternalMakefileProjectGenerator::SetGlobalGenerator(generator);
|
|
||||||
cmGlobalUnixMakefileGenerator3* mf = (cmGlobalUnixMakefileGenerator3*)
|
|
||||||
generator;
|
|
||||||
}
|
|
||||||
|
|
||||||
void cmGlobalKdevelopGenerator::Generate()
|
void cmGlobalKdevelopGenerator::Generate()
|
||||||
{
|
{
|
||||||
// for each sub project in the project create
|
// for each sub project in the project create
|
||||||
@ -478,9 +469,9 @@ void cmGlobalKdevelopGenerator
|
|||||||
" <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>VERBOSE=1 " <<
|
" <makebin>" << this->GlobalGenerator->GetLocalGenerators()[0]->
|
||||||
this->GlobalGenerator->GetLocalGenerators()[0]->GetMakefile()->
|
GetMakefile()->GetRequiredDefinition("CMAKE_BUILD_TOOL")
|
||||||
GetRequiredDefinition("CMAKE_BUILD_TOOL") << "</makebin>\n"
|
<< " VERBOSE=1 </makebin>\n"
|
||||||
" <selectedenvironment>default</selectedenvironment>\n"
|
" <selectedenvironment>default</selectedenvironment>\n"
|
||||||
" <environments>\n"
|
" <environments>\n"
|
||||||
" <default/>\n"
|
" <default/>\n"
|
||||||
|
@ -37,7 +37,6 @@ class cmGlobalKdevelopGenerator : public cmExternalMakefileProjectGenerator
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cmGlobalKdevelopGenerator();
|
cmGlobalKdevelopGenerator();
|
||||||
virtual void SetGlobalGenerator(cmGlobalGenerator* generator);
|
|
||||||
|
|
||||||
virtual const char* GetName() const
|
virtual const char* GetName() const
|
||||||
{ return cmGlobalKdevelopGenerator::GetActualName();}
|
{ return cmGlobalKdevelopGenerator::GetActualName();}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user