CMAKE_VERBOSE_MAKEFILE=ON ignored for GMock
Hi,
in Debian we use blhc to make sure our builds are done with all hardening flags enabled. When building CMake based packages, we set CMAKE_VERBOSE_MAKEFILE=ON
to get the precise compiler invocation. Unfortunately, it seems that when using gmock, that setting is somehow lost.
To test, try building the CMake project found under /usr/share/doc/cmake-extras/examples/findgmock-demo/
in Debian and derivatives with CMAKE_VERBOSE_MAKEFILE=ON
. I attached a log file to this issue report.log
Setting CMAKE_VERBOSE_MAKEFILE=ON
should also take effect for sources compiled using gmock.