diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2020-12-16 21:48:52 (GMT) |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2020-12-17 17:32:57 (GMT) |
commit | 850de767e9cba3faa581ceb451ce1ea265ae09b3 (patch) | |
tree | f46454749973e8ab9dfc062da40229be7bf6d990 /Tests/TestsWorkingDirectory | |
parent | 0f61fac6f028214d64ef6a407c6b98d4503ee2fe (diff) | |
download | CMake-850de767e9cba3faa581ceb451ce1ea265ae09b3.zip CMake-850de767e9cba3faa581ceb451ce1ea265ae09b3.tar.gz CMake-850de767e9cba3faa581ceb451ce1ea265ae09b3.tar.bz2 |
ExternalProject: Silence step succeeded message when using Ninja
When doing an ExternalProject superbuild with all output logged to
files, the output currently looks as follows:
```
[652/904] Performing install step for 'plasma-framework'
-- plasma-framework install command succeeded. See also /root/build/kde/frameworks/plasma-framework/log/plasma-framework-install-*.log
[658/904] Performing build step for 'khtml'
-- khtml build command succeeded. See also /root/build/kde/frameworks/khtml/log/khtml-build-*.log
[659/904] Performing install step for 'khtml'
-- khtml install command succeeded. See also /root/build/kde/frameworks/khtml/log/khtml-install-*.log
[661/904] Performing configure step for 'krunner'
-- krunner configure command succeeded. See also /root/build/kde/frameworks/krunner/log/krunner-configure-*.log
[661/904] Performing build step for 'krunner'
```
More specifically, because a success line is printed for every
succeeded step, we lose the advantage of Ninja's progress bar
which will now also print a new line instead of updating the same
link as happens when using Ninja in a normal CMake project.
By silencing the success message when using the Ninja generator,
Ninja's progress bar works as expected and updates inline instead
of printing a new line for each progress update.
With this change, the above output is reduced to a single line
progress bar:
```
[661/904] Performing build step for 'krunner'
```
Diffstat (limited to 'Tests/TestsWorkingDirectory')
0 files changed, 0 insertions, 0 deletions