diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-21 14:26:06 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-21 14:26:06 (GMT) |
commit | 8913cbffdee9fdff52e18e1ed795277c68acfc2c (patch) | |
tree | 9e7eb39f242efecf3230f4b2885e050be638c71c /Source/cmMakefile.h | |
parent | f29d881d3df6a52e1f92e946681f393aec5903ee (diff) | |
download | CMake-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.h | 4 |
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()); |