cmake Test and Debug Let CMake create verbose Makefiles

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

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.



Got any cmake Question?