summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-18 18:51:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-18 18:51:33 (GMT)
commit06922e1ac66677ddde41c6dc5ab82e0c09675d8e (patch)
treec54696f4996d2a1fd14447db9d442f02e316abd2 /Source/cmake.cxx
parent5ba411dd641d4410d46c6dac9dedd542573b58f8 (diff)
downloadCMake-06922e1ac66677ddde41c6dc5ab82e0c09675d8e.zip
CMake-06922e1ac66677ddde41c6dc5ab82e0c09675d8e.tar.gz
CMake-06922e1ac66677ddde41c6dc5ab82e0c09675d8e.tar.bz2
ENH: use home not start
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 2023536..cb6cfc1 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -356,12 +356,12 @@ int cmake::Generate(const std::vector<std::string>& args, bool buildMakefiles)
// Read and parse the input makefile
mf.MakeStartDirectoriesCurrent();
cmCacheManager::GetInstance()->LoadCache(&mf);
- if(mf.GetDefinition("CMAKE_START_DIRECTORY"))
+ if(mf.GetDefinition("CMAKE_HOME_DIRECTORY"))
{
std::string cacheStart =
- cmSystemTools::CollapseFullPath(mf.GetDefinition("CMAKE_START_DIRECTORY"));
+ cmSystemTools::CollapseFullPath(mf.GetDefinition("CMAKE_HOME_DIRECTORY"));
std::string currentStart =
- cmSystemTools::CollapseFullPath(mf.GetStartDirectory());
+ cmSystemTools::CollapseFullPath(mf.GetHomeDirectory());
#ifdef _WIN32
cacheStart = cmSystemTools::LowerCase(cacheStart);
currentStart = cmSystemTools::LowerCase(currentStart);
@@ -377,7 +377,7 @@ int cmake::Generate(const std::vector<std::string>& args, bool buildMakefiles)
return -1;
}
}
- mf.AddCacheDefinition("CMAKE_START_DIRECTORY", mf.GetStartDirectory(),
+ mf.AddCacheDefinition("CMAKE_HOME_DIRECTORY", mf.GetHomeDirectory(),
"Start directory with the top level CMakeLists.txt file for this project",
cmCacheManager::INTERNAL);