summaryrefslogtreecommitdiffstats
path: root/Source/CMakeBuildTargets.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-02-13 00:49:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-02-13 00:49:52 (GMT)
commitdb267f533b9ac63db78559e9d3cb39a6db090770 (patch)
treec1d9cbee32d5de1e522e2c2ab5503ec82fb39f2c /Source/CMakeBuildTargets.cxx
parent9d431ae48b0912454405d5eaabf7ce11561fd4ec (diff)
downloadCMake-db267f533b9ac63db78559e9d3cb39a6db090770.zip
CMake-db267f533b9ac63db78559e9d3cb39a6db090770.tar.gz
CMake-db267f533b9ac63db78559e9d3cb39a6db090770.tar.bz2
ENH: get rid of special msc configure file
Diffstat (limited to 'Source/CMakeBuildTargets.cxx')
-rw-r--r--Source/CMakeBuildTargets.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CMakeBuildTargets.cxx b/Source/CMakeBuildTargets.cxx
index e9c2dbb..e4c9e92 100644
--- a/Source/CMakeBuildTargets.cxx
+++ b/Source/CMakeBuildTargets.cxx
@@ -47,6 +47,7 @@ int main(int ac, char** av)
{
std::string path = arg.substr(2);
mf.SetOutputHomeDirectory(path.c_str());
+ mf.SetOutputDirectory(path.c_str());
}
// Set the source home directory with a -H dir option
if(arg.find("-H",0) == 0)
@@ -57,6 +58,7 @@ int main(int ac, char** av)
}
}
mf.SetMakefileGenerator(new cmUnixMakefileGenerator);
+
// Read and parse the input makefile
if(!mf.ReadMakefile(av[1]))
{