diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-05-25 14:55:24 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-05-25 14:55:24 (GMT) |
commit | 7eba286403b8f0e69f6787800b6e4ec09ccc2f39 (patch) | |
tree | b55582f4b2c0630c587260d6d0e15beba19b813f /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 60ebc572279f5459d946e716cf6f707b9e22785e (diff) | |
download | CMake-7eba286403b8f0e69f6787800b6e4ec09ccc2f39.zip CMake-7eba286403b8f0e69f6787800b6e4ec09ccc2f39.tar.gz CMake-7eba286403b8f0e69f6787800b6e4ec09ccc2f39.tar.bz2 |
BUG: fix to progress for small projects
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index e96dcde..e1a9a46 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -1402,7 +1402,9 @@ void cmLocalUnixMakefileGenerator3 progCmd << this->Convert(progressDir.c_str(), cmLocalGenerator::FULL, cmLocalGenerator::SHELL); - progCmd << " 100"; + cmGlobalUnixMakefileGenerator3 *gg = + static_cast<cmGlobalUnixMakefileGenerator3*>(this->GlobalGenerator); + progCmd << " " << gg->GetNumberOfSourceFiles(); commands.push_back(progCmd.str()); } |