initial common cmake files for both shared library build and application build. Doesn't build anything yet.