GHS: Remove unnecessary Configure override.
This only sets a member variable which is never read. Presumably this was copied from the makefile generator.
This commit is contained in:
parent
4fdad392b6
commit
73245e5911
|
@ -37,21 +37,3 @@ void cmLocalGhsMultiGenerator::Generate()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Implemented in:
|
|
||||||
// cmLocalGenerator.
|
|
||||||
// Used in:
|
|
||||||
// Source/cmMakefile.cxx
|
|
||||||
// Source/cmGlobalGenerator.cxx
|
|
||||||
void cmLocalGhsMultiGenerator::Configure()
|
|
||||||
{
|
|
||||||
// Compute the path to use when referencing the current output
|
|
||||||
// directory from the top output directory.
|
|
||||||
this->HomeRelativeOutputPath =
|
|
||||||
this->Convert(this->Makefile->GetCurrentBinaryDirectory(), HOME_OUTPUT);
|
|
||||||
if (this->HomeRelativeOutputPath == ".")
|
|
||||||
{
|
|
||||||
this->HomeRelativeOutputPath = "";
|
|
||||||
}
|
|
||||||
this->cmLocalGenerator::Configure();
|
|
||||||
}
|
|
||||||
|
|
|
@ -29,20 +29,11 @@ public:
|
||||||
|
|
||||||
virtual ~cmLocalGhsMultiGenerator();
|
virtual ~cmLocalGhsMultiGenerator();
|
||||||
|
|
||||||
/// @returns the relative path between the HomeOutputDirectory and this
|
|
||||||
/// local generators StartOutputDirectory.
|
|
||||||
std::string GetHomeRelativeOutputPath() const
|
|
||||||
{
|
|
||||||
return this->HomeRelativeOutputPath;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate the makefile for this directory.
|
* Generate the makefile for this directory.
|
||||||
*/
|
*/
|
||||||
virtual void Generate();
|
virtual void Generate();
|
||||||
|
|
||||||
/// Overloaded methods. @see cmLocalGenerator::Configure()
|
|
||||||
virtual void Configure();
|
|
||||||
const char *GetBuildFileName() { return this->BuildFileName.c_str(); }
|
const char *GetBuildFileName() { return this->BuildFileName.c_str(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -50,7 +41,6 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string BuildFileName;
|
std::string BuildFileName;
|
||||||
std::string HomeRelativeOutputPath;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue