From 9234f45e2329b714d93b634933639feb32b805fe Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 6 Aug 2003 18:41:36 -0400 Subject: [PATCH] ENH: Removed old argument processing code that never does anything. --- Source/cmake.cxx | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index f8915b0ad..ab3bfae81 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -246,30 +246,6 @@ void cmake::SetArgs(const std::vector& args) { m_Local = false; bool directoriesSet = false; - // watch for cmake and cmake srcdir invocations - if (args.size() <= 2) - { - directoriesSet = true; - this->SetHomeOutputDirectory - (cmSystemTools::GetCurrentWorkingDirectory().c_str()); - this->SetStartOutputDirectory - (cmSystemTools::GetCurrentWorkingDirectory().c_str()); - if (args.size() == 2 && args[1].find("-G") != 0) - { - this->SetHomeDirectory - (cmSystemTools::CollapseFullPath(args[1].c_str()).c_str()); - this->SetStartDirectory - (cmSystemTools::CollapseFullPath(args[1].c_str()).c_str()); - } - else - { - this->SetHomeDirectory - (cmSystemTools::GetCurrentWorkingDirectory().c_str()); - this->SetStartDirectory - (cmSystemTools::GetCurrentWorkingDirectory().c_str()); - } - } - for(unsigned int i=1; i < args.size(); ++i) { std::string arg = args[i];