summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-21 13:32:11 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-21 13:32:11 (GMT)
commit619864c09eac7b4d87e3607c017a52c0499fdc11 (patch)
tree66d23cad33de8aa096e53bdc2bd9c03bb1fefe43 /Source/cmake.cxx
parente2a555e1e177f364137c85ba326e4c91b7d89611 (diff)
downloadCMake-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.cxx6
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