diff options
author | Brad King <brad.king@kitware.com> | 2008-10-09 19:30:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-10-09 19:30:07 (GMT) |
commit | ad44a41a187fc3a1b829397e1c9f7c5f305c084b (patch) | |
tree | 39e49f9e554aa602fae42ff084cf628a81f9166a /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | 416bf5730f33b5760bbcea9b4fb871cc9d717c6a (diff) | |
download | CMake-ad44a41a187fc3a1b829397e1c9f7c5f305c084b.zip CMake-ad44a41a187fc3a1b829397e1c9f7c5f305c084b.tar.gz CMake-ad44a41a187fc3a1b829397e1c9f7c5f305c084b.tar.bz2 |
ENH: Fix optional use of relative paths.
These changes refactor cmLocalGenerator methods Convert and
ConvertToOutputForExisting to support references inside the build tree
using relative paths. After this commit, all tests pass with Makefile
generators when relative paths are enabled by default. See issue #7779.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index ed7e7bc..06305d0 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -440,7 +440,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) this->LocalGenerator->CreateCDCommand (commands1, this->Makefile->GetStartOutputDirectory(), - this->Makefile->GetHomeOutputDirectory()); + cmLocalGenerator::HOME_OUTPUT); commands.insert(commands.end(), commands1.begin(), commands1.end()); commands1.clear(); @@ -454,7 +454,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) commands1.push_back(symlink); this->LocalGenerator->CreateCDCommand(commands1, this->Makefile->GetStartOutputDirectory(), - this->Makefile->GetHomeOutputDirectory()); + cmLocalGenerator::HOME_OUTPUT); commands.insert(commands.end(), commands1.begin(), commands1.end()); commands1.clear(); } |