summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-15 22:52:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-20 22:12:51 (GMT)
commitb23cf06f861e928cf8ee942eabd24ea76e299f4f (patch)
tree998d89c43bd437861efbc0606f67b7ee4ac670da /Source/cmcmd.cxx
parentfcf246acd18dd168d9909cd33b191a3e6c9881e0 (diff)
downloadCMake-b23cf06f861e928cf8ee942eabd24ea76e299f4f.zip
CMake-b23cf06f861e928cf8ee942eabd24ea76e299f4f.tar.gz
CMake-b23cf06f861e928cf8ee942eabd24ea76e299f4f.tar.bz2
cmake: Remove redundant start directories.
They are maintained as containing the same content as the 'home' directories, but they are never read from. Fix some comments and help strings which confused the two by name. They actually mean what is called CMAKE_SOURCE_DIR in cmake code.
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index db85b59..a279ec7 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -642,9 +642,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
homeOutDir = cmSystemTools::CollapseFullPath(homeOutDir);
startOutDir = cmSystemTools::CollapseFullPath(startOutDir);
cm.SetHomeDirectory(homeDir);
- cm.SetStartDirectory(startDir);
cm.SetHomeOutputDirectory(homeOutDir);
- cm.SetStartOutputDirectory(startOutDir);
if(cmGlobalGenerator* ggd = cm.CreateGlobalGenerator(gen))
{
cm.SetGlobalGenerator(ggd);