diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-06-16 20:29:08 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-06-16 20:29:08 (GMT) |
commit | 57746b6ffe5456556a2ff1db647dbe7664eccca5 (patch) | |
tree | fae88fe7786446865174d82427c57fe2f4c81802 /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | e92731ca6e4584c54b9603ebc812d3209e0d294e (diff) | |
download | CMake-57746b6ffe5456556a2ff1db647dbe7664eccca5.zip CMake-57746b6ffe5456556a2ff1db647dbe7664eccca5.tar.gz CMake-57746b6ffe5456556a2ff1db647dbe7664eccca5.tar.bz2 |
ENH: warning fix
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 764c346..84c47eb 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -816,20 +816,22 @@ cmGlobalUnixMakefileGenerator3 std::string progressDir = lg->GetMakefile()->GetHomeOutputDirectory(); progressDir += cmake::GetCMakeFilesDirectory(); - cmOStringStream progCmd; - progCmd << "$(CMAKE_COMMAND) -E cmake_progress_report "; - // all target counts - progCmd << lg->Convert(progressDir.c_str(), - cmLocalGenerator::FULL, - cmLocalGenerator::SHELL); - progCmd << " "; - std::vector<int> &progFiles = lg->ProgressFiles[t->first]; - for (std::vector<int>::iterator i = progFiles.begin(); - i != progFiles.end(); ++i) { - progCmd << " " << *i; + cmOStringStream progCmd; + progCmd << "$(CMAKE_COMMAND) -E cmake_progress_report "; + // all target counts + progCmd << lg->Convert(progressDir.c_str(), + cmLocalGenerator::FULL, + cmLocalGenerator::SHELL); + progCmd << " "; + std::vector<int> &progFiles = lg->ProgressFiles[t->first]; + for (std::vector<int>::iterator i = progFiles.begin(); + i != progFiles.end(); ++i) + { + progCmd << " " << *i; + } + commands.push_back(progCmd.str()); } - commands.push_back(progCmd.str()); progressDir = "Building target "; progressDir += t->first; lg->AppendEcho(commands,progressDir.c_str()); |