summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-07 17:39:13 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-07 17:39:13 (GMT)
commit1829bed8b5dd4c1d3b622a14160d3a6706bcc16e (patch)
tree4facf9909369e1ccb4aa854f5a611ec82eaf6906 /Source/cmMakefileExecutableTargetGenerator.cxx
parentfcd09ca90ff052fbb560d8b1eff3e465066bb13b (diff)
downloadCMake-1829bed8b5dd4c1d3b622a14160d3a6706bcc16e.zip
CMake-1829bed8b5dd4c1d3b622a14160d3a6706bcc16e.tar.gz
CMake-1829bed8b5dd4c1d3b622a14160d3a6706bcc16e.tar.bz2
BUG: Do not create target output directory in cmTarget. Let the generators do it.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index 1715fe9..29be46c 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -147,9 +147,11 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
}
else
{
+ cmSystemTools::MakeDirectory(outpath.c_str());
if(!targetNameImport.empty())
{
outpathImp = this->Target->GetDirectory(0, true);
+ cmSystemTools::MakeDirectory(outpathImp.c_str());
outpathImp += "/";
}
}