mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
cmLocalUnixMakefileGenerator3: Mark GetRelativeTargetDirectory const
This commit is contained in:
@@ -809,7 +809,7 @@ void cmLocalUnixMakefileGenerator3::WriteConvenienceRule(
|
||||
}
|
||||
|
||||
std::string cmLocalUnixMakefileGenerator3::GetRelativeTargetDirectory(
|
||||
cmGeneratorTarget* target)
|
||||
cmGeneratorTarget const* target) const
|
||||
{
|
||||
std::string dir =
|
||||
cmStrCat(this->HomeRelativeOutputPath, this->GetTargetDirectory(target));
|
||||
|
||||
@@ -139,7 +139,8 @@ public:
|
||||
void WriteSpecialTargetsTop(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
|
||||
// is the depender and the value is the explicit dependee.
|
||||
|
||||
Reference in New Issue
Block a user