diff options
author | Brad King <brad.king@kitware.com> | 2006-09-28 21:21:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-09-28 21:21:50 (GMT) |
commit | bd6aaef0014229049a405ccb0bb96a23ffc6b133 (patch) | |
tree | 054fdd068d6dc559691edbe21ebe1fabc8d9f7f4 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 9a1d4e92eb6347dbe6d03cc861e284f6a4da5a6a (diff) | |
download | CMake-bd6aaef0014229049a405ccb0bb96a23ffc6b133.zip CMake-bd6aaef0014229049a405ccb0bb96a23ffc6b133.tar.gz CMake-bd6aaef0014229049a405ccb0bb96a23ffc6b133.tar.bz2 |
BUG: Moved progress.make file into CMakeFiles subdirectory to keep things clean.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index a0ff5dc..853a4f3 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -161,8 +161,10 @@ void cmLocalUnixMakefileGenerator3 void cmLocalUnixMakefileGenerator3::WriteAllProgressVariable() { // write the top level progress for the all target + std::string progressFile = cmake::GetCMakeFilesDirectory(); + progressFile += "/progress.make"; std::string progressFileNameFull = - this->ConvertToFullPath("progress.make"); + this->ConvertToFullPath(progressFile.c_str()); cmGeneratedFileStream ruleFileStream(progressFileNameFull.c_str()); if(!ruleFileStream) { @@ -1395,10 +1397,16 @@ void cmLocalUnixMakefileGenerator3 this->WriteSpecialTargetsTop(ruleFileStream); // Include the progress variables for the target. + std::string progressFile = cmake::GetCMakeFilesDirectory(); + progressFile += "/progress.make"; + std::string progressFileNameFull = + this->ConvertToFullPath(progressFile.c_str()); ruleFileStream << "# Include the progress variables for this target.\n" << this->IncludeDirective << " " - << "progress.make\n\n"; + << this->Convert(progressFileNameFull.c_str(), + cmLocalGenerator::HOME_OUTPUT, + cmLocalGenerator::MAKEFILE) << "\n\n"; // Write all global targets this->WriteDivider(ruleFileStream); |