add CMakeLists.txt for building a simple library

- needs cmake-avr toolchain