openinput-fw / openinput

Open source firmware for input devices
https://openinput.readthedocs.io
MIT License
71 stars 6 forks source link

Build colored output #100

Closed perigoso closed 2 years ago

perigoso commented 2 years ago

It would be nice to have colored output when building, it makes the output more readable and it's helpful for the developer.

We could just add the flag -fdiagnostics-color/-fcolor-diagnostics on every target or platform config, but this is rather irrelevant for the device itself, so in order to keep the configs cleaner, the build system could append these itself.

What do you think @FFY00 ?

For reference: image image

FFY00 commented 2 years ago

We can add cflags/ldflags fields to the base config.

perigoso commented 2 years ago

ah! yeah i forgot about that, definitely the correct approach