cmMakefile: Out-of-line Home directory accessors.
This commit is contained in:
parent
6241253a4b
commit
7bb4e3db06
@ -3461,6 +3461,11 @@ cmMakefile::LexicalPushPop::~LexicalPushPop()
|
|||||||
this->Makefile->PopFunctionBlockerBarrier(this->ReportError);
|
this->Makefile->PopFunctionBlockerBarrier(this->ReportError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* cmMakefile::GetHomeDirectory() const
|
||||||
|
{
|
||||||
|
return this->cmHomeDirectory.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
void cmMakefile::SetHomeDirectory(const std::string& dir)
|
void cmMakefile::SetHomeDirectory(const std::string& dir)
|
||||||
{
|
{
|
||||||
this->cmHomeDirectory = dir;
|
this->cmHomeDirectory = dir;
|
||||||
@ -3472,6 +3477,11 @@ void cmMakefile::SetHomeDirectory(const std::string& dir)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* cmMakefile::GetHomeOutputDirectory() const
|
||||||
|
{
|
||||||
|
return this->HomeOutputDirectory.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
void cmMakefile::SetHomeOutputDirectory(const std::string& lib)
|
void cmMakefile::SetHomeOutputDirectory(const std::string& lib)
|
||||||
{
|
{
|
||||||
this->HomeOutputDirectory = lib;
|
this->HomeOutputDirectory = lib;
|
||||||
|
@ -438,15 +438,9 @@ public:
|
|||||||
* and going up until it reaches the HomeDirectory.
|
* and going up until it reaches the HomeDirectory.
|
||||||
*/
|
*/
|
||||||
void SetHomeDirectory(const std::string& dir);
|
void SetHomeDirectory(const std::string& dir);
|
||||||
const char* GetHomeDirectory() const
|
const char* GetHomeDirectory() const;
|
||||||
{
|
|
||||||
return this->cmHomeDirectory.c_str();
|
|
||||||
}
|
|
||||||
void SetHomeOutputDirectory(const std::string& lib);
|
void SetHomeOutputDirectory(const std::string& lib);
|
||||||
const char* GetHomeOutputDirectory() const
|
const char* GetHomeOutputDirectory() const;
|
||||||
{
|
|
||||||
return this->HomeOutputDirectory.c_str();
|
|
||||||
}
|
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user