3 ms·
One pet peeve of mine is build tools that (are configured to) hide the compiler command lines and instead display pretty green "OK" or red "FAIL" messages. Whe
by stncls 5y ago
One pet peeve of mine is build tools that (are configured to) hide the compiler command lines and instead display pretty green "OK" or red "FAIL" messages.
When, invariably, a compilation fails in the middle of the build, it gets really frustrating. If you want to reproduce just the error, and play around to fix it, then you are constrained to understand the whole build system, find the different options in the build files, and rebuild everything at every try (which can be very slow, either because even dummy recompiles are slow, or worse because compiler flags have changed).
If instead you have the command line, you can copy-paste it to a new terminal and tweak it until things work. Only then do you have to look into the build system and adjust things accordingly.
- chisquared 5y agoUsually you can disable this by passing `--disable-silent-rules` to `configure` and/or `V=1` to `make`.
- dundarious 5y agoIf you're willing to see a lot of CMake's own carry-on, you can also do `make VERBOSE=1` or `cmake --build builddir -- VERBOSE=1` there.