diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-06-12 15:40:31 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-06-12 15:40:31 (GMT) |
commit | 14cc1efe2ce7690fcf689558bc1862f8f908c2cb (patch) | |
tree | 74521854b723f56f5e821d565e4a52f61c869de0 /Source/cmake.cxx | |
parent | a21a320a2654336f196349c46eb3f0825da59fd3 (diff) | |
download | CMake-14cc1efe2ce7690fcf689558bc1862f8f908c2cb.zip CMake-14cc1efe2ce7690fcf689558bc1862f8f908c2cb.tar.gz CMake-14cc1efe2ce7690fcf689558bc1862f8f908c2cb.tar.bz2 |
ENH: some cleanup to progress
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 6bbf9d1..9a99f8e 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1004,7 +1004,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) } // Command to report progress for a build - else if (args[1] == "cmake_progress_report" && args.size() >= 4) + else if (args[1] == "cmake_progress_report" && args.size() >= 3) { std::string dirName = args[2]; dirName += "/Progress"; @@ -1037,7 +1037,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) if (count > 0) { // print the progress - fprintf(stdout,"%3i%% complete\n",((fileNum-3)*100)/count); + fprintf(stdout,"[%3i%%] ",((fileNum-3)*100)/count); } fclose(progFile); } |