diff options
author | Brad King <brad.king@kitware.com> | 2003-08-06 22:41:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-08-06 22:41:36 (GMT) |
commit | 9234f45e2329b714d93b634933639feb32b805fe (patch) | |
tree | c5e26ef21f21e974b6883c2c26f98cb86e786f2a | |
parent | 88e1571c76529c17a76adcacbd4573b4879e1bee (diff) | |
download | CMake-9234f45e2329b714d93b634933639feb32b805fe.zip CMake-9234f45e2329b714d93b634933639feb32b805fe.tar.gz CMake-9234f45e2329b714d93b634933639feb32b805fe.tar.bz2 |
ENH: Removed old argument processing code that never does anything.
-rw-r--r-- | Source/cmake.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index f8915b0..ab3bfae 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -246,30 +246,6 @@ void cmake::SetArgs(const std::vector<std::string>& 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]; |