mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 19:28:37 -06:00
cmLocalUnixMakefileGenerator3: Mark GetRelativeTargetDirectory const
This commit is contained in:
@@ -809,7 +809,7 @@ void cmLocalUnixMakefileGenerator3::WriteConvenienceRule(
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::string cmLocalUnixMakefileGenerator3::GetRelativeTargetDirectory(
|
std::string cmLocalUnixMakefileGenerator3::GetRelativeTargetDirectory(
|
||||||
cmGeneratorTarget* target)
|
cmGeneratorTarget const* target) const
|
||||||
{
|
{
|
||||||
std::string dir =
|
std::string dir =
|
||||||
cmStrCat(this->HomeRelativeOutputPath, this->GetTargetDirectory(target));
|
cmStrCat(this->HomeRelativeOutputPath, this->GetTargetDirectory(target));
|
||||||
|
|||||||
@@ -139,7 +139,8 @@ public:
|
|||||||
void WriteSpecialTargetsTop(std::ostream& makefileStream);
|
void WriteSpecialTargetsTop(std::ostream& makefileStream);
|
||||||
void WriteSpecialTargetsBottom(std::ostream& makefileStream);
|
void WriteSpecialTargetsBottom(std::ostream& makefileStream);
|
||||||
|
|
||||||
std::string GetRelativeTargetDirectory(cmGeneratorTarget* target);
|
std::string GetRelativeTargetDirectory(
|
||||||
|
cmGeneratorTarget const* target) const;
|
||||||
|
|
||||||
// File pairs for implicit dependency scanning. The key of the map
|
// File pairs for implicit dependency scanning. The key of the map
|
||||||
// is the depender and the value is the explicit dependee.
|
// is the depender and the value is the explicit dependee.
|
||||||
|
|||||||
Reference in New Issue
Block a user