diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-05-21 13:32:11 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-05-21 13:32:11 (GMT) |
commit | 619864c09eac7b4d87e3607c017a52c0499fdc11 (patch) | |
tree | 66d23cad33de8aa096e53bdc2bd9c03bb1fefe43 /Source/cmake.cxx | |
parent | e2a555e1e177f364137c85ba326e4c91b7d89611 (diff) | |
download | CMake-619864c09eac7b4d87e3607c017a52c0499fdc11.zip CMake-619864c09eac7b4d87e3607c017a52c0499fdc11.tar.gz CMake-619864c09eac7b4d87e3607c017a52c0499fdc11.tar.bz2 |
new out of place builds
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index bb3a90d..d9a5c24 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -134,6 +134,12 @@ void cmake::SetArgs(cmMakefile& builder, int ac, char** av) m_Verbose = true; } } + + if (!m_Local) + { + builder.SetStartDirectory(builder.GetHomeDirectory()); + builder.SetStartOutputDirectory(builder.GetHomeOutputDirectory()); + } } // at the end of this CMAKE_ROOT and CMAAKE_COMMAND should be added to the cache |