summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-21 14:26:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-21 14:26:06 (GMT)
commit8913cbffdee9fdff52e18e1ed795277c68acfc2c (patch)
tree9e7eb39f242efecf3230f4b2885e050be638c71c /Source/cmMakefile.h
parentf29d881d3df6a52e1f92e946681f393aec5903ee (diff)
downloadCMake-8913cbffdee9fdff52e18e1ed795277c68acfc2c.zip
CMake-8913cbffdee9fdff52e18e1ed795277c68acfc2c.tar.gz
CMake-8913cbffdee9fdff52e18e1ed795277c68acfc2c.tar.bz2
ENH: move stuff from main tree
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 1651b49..4c3888d 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -341,6 +341,8 @@ public:
{
this->cmStartDirectory = dir;
cmSystemTools::ConvertToUnixSlashes(this->cmStartDirectory);
+ this->cmStartDirectory =
+ cmSystemTools::CollapseFullPath(this->cmStartDirectory.c_str());
this->AddDefinition("CMAKE_CURRENT_SOURCE_DIR",
this->cmStartDirectory.c_str());
}
@@ -352,6 +354,8 @@ public:
{
this->StartOutputDirectory = lib;
cmSystemTools::ConvertToUnixSlashes(this->StartOutputDirectory);
+ this->StartOutputDirectory =
+ cmSystemTools::CollapseFullPath(this->StartOutputDirectory.c_str());
cmSystemTools::MakeDirectory(this->StartOutputDirectory.c_str());
this->AddDefinition("CMAKE_CURRENT_BINARY_DIR",
this->StartOutputDirectory.c_str());