cmake Test and Debug Let CMake create verbose Makefiles


Example

Once a CMake project is initialized via project(), the output verbosity of the resulting build script can be adjusted via:

CMAKE_VERBOSE_MAKEFILE

This variable can be set via CMake's command line when configuring a project:

cmake -DCMAKE_VERBOSE_MAKEFILE=ON <PATH_TO_PROJECT_ROOT>

For GNU make this variable has the same effect as running make VERBOSE=1.