summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-14 14:53:13 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-14 14:53:13 (GMT)
commit5147742a8364fabb22bf4d5d7d9c86db3ed35cad (patch)
tree1d527830d241ef9016ea39ca2760adbe93f6f325 /Source/cmMakefile.cxx
parent587b06788071e818823aabb5e31ef283f9278506 (diff)
downloadCMake-5147742a8364fabb22bf4d5d7d9c86db3ed35cad.zip
CMake-5147742a8364fabb22bf4d5d7d9c86db3ed35cad.tar.gz
CMake-5147742a8364fabb22bf4d5d7d9c86db3ed35cad.tar.bz2
Make GetCMakeInstance private and clean cxx file
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index b0dfb41..607819d 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -155,7 +155,7 @@ void cmMakefile::Print() const
bool cmMakefile::CommandExists(const char* name) const
{
- return m_LocalGenerator->GetGlobalGenerator()->GetCMakeInstance()->CommandExists(name);
+ return this->GetCMakeInstance()->CommandExists(name);
}
bool cmMakefile::ExecuteCommand(const cmListFileFunction& lff)
@@ -170,7 +170,7 @@ bool cmMakefile::ExecuteCommand(const cmListFileFunction& lff)
std::string name = lff.m_Name;
// execute the command
cmCommand *rm =
- m_LocalGenerator->GetGlobalGenerator()->GetCMakeInstance()->GetCommand(name.c_str());
+ this->GetCMakeInstance()->GetCommand(name.c_str());
if(rm)
{
cmCommand* usedCommand = rm->Clone();
@@ -349,7 +349,7 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external)
void cmMakefile::AddCommand(cmCommand* wg)
{
- m_LocalGenerator->GetGlobalGenerator()->GetCMakeInstance()->AddCommand(wg);
+ this->GetCMakeInstance()->AddCommand(wg);
}
// Set the make file
@@ -1497,12 +1497,12 @@ cmVariableWatch *cmMakefile::GetVariableWatch() const
cmCacheManager *cmMakefile::GetCacheManager() const
{
- return m_LocalGenerator->GetGlobalGenerator()->GetCMakeInstance()->GetCacheManager();
+ return this->GetCMakeInstance()->GetCacheManager();
}
bool cmMakefile::GetLocal() const
{
- return m_LocalGenerator->GetGlobalGenerator()->GetCMakeInstance()->GetLocal();
+ return this->GetCMakeInstance()->GetLocal();
}
void cmMakefile::DisplayStatus(const char* message, float s)
{