Tools
compiler
warnings are your friend
clang from source
cross platform different warnings
old versions in distros
clang-format
Automatic formatting of source code. A must have in my option. It doesn't matter what configuration you pick, the goal is for your complete code base to look as similar as possible.
clang-tidy
Static analysis tool. Takes a lot of CPU to run, but finds a lot of valid issues.
compiler-explorer
Online compiler. Great for testing small code snippets. Does not currently have JUCE
installed unfortunately.
coverage
gcc + gcov & lcov
clang + llvm-profdata & llvm-cov
Makefile/Scripts
I usually wrap all the common commands in a Makefile. Just to save some typing.
Last updated