Small example on how you can use CMake when developing for an AVR (or really any microcontroller)