I use CMake in my project. Often I run a make before firing a test script, so that if the code has changed I don't test an outdated binary. If I see lines about compiling or linking etc I know something has changed. But if nothing has changed, I still see:
[100%] Built target foo
And I would really rather not see that at all. I mean, I don't want a silent build altogether - just in case no actions are necessary. How can I do that?
PS - Here's the result of make -rRd | grep 'Must remake'
:
Must remake target 'cmake_check_build_system'.
Must remake target 'all'.
Must remake target 'CMakeFiles/tester.dir/all'.
Must remake target 'CMakeFiles/tester.dir/depend'.
Must remake target 'CMakeFiles/tester.dir/build'.
Must remake target 'all'.
Must remake target 'default_target'.
but nothing is actually done.