Make your code readable. Pretend the next person who looks
at your code is a psychopath and they know where you live.
-- Philip Wadler
Build multiple targets and commit
August 3, 2012
- Ivan Čukić
I’ve just committed a helper script to KDE Activities that gets into all
different build directories for the project you’re compiling, and runs the
compilation. If all compiles successfully, it calls git commit.
I have decided to compile kactivities on a regular basis with GCC 4.7 (my
default compiler), GCC 4.5 and Clang 3.1 to ensure no compiler specific
things are being used, and no C++11 features that GCC 4.5 doesn’t support.