If I would write makefile by hand , I can do something like this
CXX = @g++
%.o: %.cpp makefile
@echo Compiling $< ...
$(CXX) -c $(FLAGS) $<
This would hide the executed command (thanks to @) but leaves all diagnostic and compiler's output. It would remove huge lists of parameters out of output log, but also would leave a comprehensive message.
I'm unable to reproduce this behaviour with Qmake, because all I can supply is a variable named QMAKE_CXX, content of which it would paste as a compiler, no way to insert a line break to my knowledge. Using these commands results in output like this
Compiling main.cpp...; @g++ -c -o main.o main.cpp
Can I organize output similar to manual compiler while using only QMAKE project file?