Linux/make
$make V=1
For CMake, use make VERBOSE=1
; for GNU autotools make V=1
Note: make -s (silent) will suppress all make log.
CMake
cmake --build build -v
>>>CMakeLists.txt
set(CMAKE_VERBOSE_MAKEFILE ON)
$make -C build -f Makefile VERBOSE=1
Code: CMakeLists.txt
set( CMAKE_VERBOSE_MAKEFILE on )
Or
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON .
Android build/make
aosp_root_folder $make showcommands bootimage