mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 05:26:58 +08:00
cmMakefile: Remove redundant method duplication.
This commit is contained in:
@@ -464,10 +464,6 @@ public:
|
|||||||
this->AddDefinition("CMAKE_CURRENT_SOURCE_DIR",
|
this->AddDefinition("CMAKE_CURRENT_SOURCE_DIR",
|
||||||
this->cmStartDirectory.c_str());
|
this->cmStartDirectory.c_str());
|
||||||
}
|
}
|
||||||
const char* GetStartDirectory() const
|
|
||||||
{
|
|
||||||
return this->cmStartDirectory.c_str();
|
|
||||||
}
|
|
||||||
void SetStartOutputDirectory(const std::string& dir)
|
void SetStartOutputDirectory(const std::string& dir)
|
||||||
{
|
{
|
||||||
this->StartOutputDirectory = dir;
|
this->StartOutputDirectory = dir;
|
||||||
@@ -478,10 +474,6 @@ public:
|
|||||||
this->AddDefinition("CMAKE_CURRENT_BINARY_DIR",
|
this->AddDefinition("CMAKE_CURRENT_BINARY_DIR",
|
||||||
this->StartOutputDirectory.c_str());
|
this->StartOutputDirectory.c_str());
|
||||||
}
|
}
|
||||||
const char* GetStartOutputDirectory() const
|
|
||||||
{
|
|
||||||
return this->StartOutputDirectory.c_str();
|
|
||||||
}
|
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
const char* GetCurrentSourceDirectory() const
|
const char* GetCurrentSourceDirectory() const
|
||||||
|
Reference in New Issue
Block a user