# cmake progress loosed

**URL:** https://discourse.cmake.org/t/cmake-progress-loosed/14250
**Category:** Usage
**Created:** [June 17, 2025, 2:38pm UTC](https://discourse.cmake.org/t/cmake-progress-loosed/14250 "2025-06-17T14:38:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cmpeter](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/c/ecd19e/32.png) [@cmpeter](https://discourse.cmake.org/u/cmpeter)
#### Post date: [June 17, 2025, 2:38pm UTC](https://discourse.cmake.org/t/cmake-progress-loosed/14250/1 "2025-06-17T14:38:23Z")

</div>

Hello  
I have cmake build tree containing three git submodules built with add\_subdirectory().  
First of them contains add\_custom\_command() and the command contains shell script running cpack and some shell commands and it creates \*.deb package.

Build of this one submodule makes strange problem, when it built all source files and runs custom command then cmake progress output stays disabled (I mean displaying of [XX%] with full path to \*.c compiled file). After this step only output of another shell scripts are displayed in terminal to the end of whole build even it finishes successfully. No error messages.  
When I disable building of this submodule and leave to build another submodules, all is ok, and make displays cmake progress to the end of whole build even they also contains similar custom command with shell script.

I known that it is cosmetic problem, but I’d like to have complete build log with all lines.  
What should I check, any ideas ?

---

<div class="post-metadata">

### Author: ![cmpeter](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/c/ecd19e/32.png) [@cmpeter](https://discourse.cmake.org/u/cmpeter)
#### Post date: [June 20, 2025, 11:05am UTC](https://discourse.cmake.org/t/cmake-progress-loosed/14250/4 "2025-06-20T11:05:04Z")

</div>

I found, that I had not properly setup CPack in submodule. Cpack tried to create package from whole build and it seems that it occupied output from it’s start to the end of build. After I configured CPack to create package only in one submodule then cmake progress output is ok.
