Toolchain for cross-compiling to AVR microcontrollers using GCC
None of the AVR toolchains for cmake I found worked quite the way I wanted, so took some of the ideas I liked from others and merged them into a toolchain file that works for me.
Your mileage may vary...