diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-07-06 20:16:12 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-07-06 20:16:12 (GMT) |
commit | ababb688200540ee1adee42124de3affd51a5475 (patch) | |
tree | 1a58b99dd99a6505e9997ae9b05e4b6f5ebaafa4 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | c4db8aba73623610c3ea61e82b96b0e93e5e5859 (diff) | |
download | CMake-ababb688200540ee1adee42124de3affd51a5475.zip CMake-ababb688200540ee1adee42124de3affd51a5475.tar.gz CMake-ababb688200540ee1adee42124de3affd51a5475.tar.bz2 |
BUG: fix for bootstrap problem
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index fe303a7..0b85b9a 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -353,7 +353,7 @@ cmLocalUnixMakefileGenerator3 } this->WriteDisclaimer(ruleFileStream); - this->WriteMakeVariables(ruleFileStream); + this->WriteMakeVariables(ruleFileStream, HOME_OUTPUT); // write the custom commands for this target std::vector<std::string> cleanFiles; @@ -791,7 +791,7 @@ cmLocalUnixMakefileGenerator3 return; } this->WriteDisclaimer(ruleFileStream); - this->WriteMakeVariables(ruleFileStream); + this->WriteMakeVariables(ruleFileStream, HOME_OUTPUT); ruleFileStream << "# Utility rule file for " << target.GetName() << ".\n\n"; @@ -955,7 +955,7 @@ void cmLocalUnixMakefileGenerator3::WriteDivider(std::ostream& os) //---------------------------------------------------------------------------- void cmLocalUnixMakefileGenerator3 -::WriteMakeVariables(std::ostream& makefileStream) +::WriteMakeVariables(std::ostream& makefileStream, RelativeRoot root) { this->WriteDivider(makefileStream); makefileStream @@ -992,13 +992,13 @@ cmLocalUnixMakefileGenerator3 makefileStream << "# The CMake executable.\n" << "CMAKE_COMMAND = " - << this->Convert(cmakecommand.c_str(),START_OUTPUT,MAKEFILE).c_str() + << this->Convert(cmakecommand.c_str(), root, MAKEFILE).c_str() << "\n" << "\n"; makefileStream << "# The command to remove a file.\n" << "RM = " - << this->Convert(cmakecommand.c_str(),START_OUTPUT,SHELL).c_str() + << this->Convert(cmakecommand.c_str(),root,SHELL).c_str() << " -E remove -f\n" << "\n"; @@ -1015,13 +1015,13 @@ cmLocalUnixMakefileGenerator3 makefileStream << "# The top-level source directory on which CMake was run.\n" << "CMAKE_SOURCE_DIR = " - << this->Convert(m_Makefile->GetHomeDirectory(), START_OUTPUT, SHELL) + << this->Convert(m_Makefile->GetHomeDirectory(), root, SHELL) << "\n" << "\n"; makefileStream << "# The top-level build directory on which CMake was run.\n" << "CMAKE_BINARY_DIR = " - << this->Convert(m_Makefile->GetHomeOutputDirectory(), START_OUTPUT, SHELL) + << this->Convert(m_Makefile->GetHomeOutputDirectory(), root, SHELL) << "\n" << "\n"; } @@ -2780,7 +2780,7 @@ void cmLocalUnixMakefileGenerator3::WriteLocalMakefile() } this->WriteDisclaimer(ruleFileStream); - this->WriteMakeVariables(ruleFileStream); + this->WriteMakeVariables(ruleFileStream, START_OUTPUT); this->WriteSpecialTargetsTop(ruleFileStream); |