Enable Verbose Mode in CMake-Generated Makefiles27 Mar 2017
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]
- one can use:
- or :
cmake --build . -- VERBOSE=1
Is is also possible to enable verbose mode by default while generating the makefile: