Enable Verbose Mode in CMake-Generated Makefiles

CMake is a powerful, cross-platform tool for managing the build process of software. It is able to identifiy the location of the software’s requirements and the available compiler/s. Based on that, CMake configures and generates a makefile which is ready to be executed.

This week’s post shows how to enable the verbose mode which CMake integrates into the makefile.

After generating a makefile with: cmake . [options]

Is is also possible to enable verbose mode by default while generating the makefile: cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON