[CMake] Control CMake Verbosity?

Nikolaus Rath nrath at trialphaenergy.com
Fri May 1 17:56:48 EDT 2015


Hello,

Is there a way to adjust the amount or level of detail of the CMake
progress messages?

Especially with parallel make, the output isn't exactly pretty. For example:

Scanning dependencies of target LR_shift
[  1%] [  6%] [  6%] [  6%] [  8%] [ 10%] [ 13%] [ 13%] Building Fortran
object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/LamyRidge/src/comm/numeric_kinds.f90.o
Building Fortran object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/LamyRidge/src/comm/coil_type.f.o
Building Fortran object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/LamyRidge/src/comm/serv.f.o
Building Fortran object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/LamyRidge/src/comm/circ.f.o
Building Fortran object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/LamyRidge/src/comm/pcon.f.o
Building Fortran object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/LamyRidge/src/comm/acoil_type.f.o
Building Fortran object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/LamyRidge/src/comm/wall_type.f.o
Building Fortran object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/utils/src/taehdf5.f90.o
[ 15%] [ 22%] [ 22%] [ 22%] [ 23%] [ 23%] Building Fortran object
CMakeFiles/LR_shift.dir/home/nrath/Q2D/P-state/fortran/src/sort.f.o


It would be great if CMake could print out only the percentages, or
maybe at least omit the super-long path from the messages.


Best,
-Nikolaus


More information about the CMake mailing list