Build with cmake
Addresses #1 (closed). I modified the CMakeLists.txt so that we compile both shared and static library. Building with yocto seems to work?
I also updated the build script to use this new cmake with minimal changes. However probably it would be better to modify the scripts a bit more and align them with what we did for the opensilecs project. I belive currently the scripts check if the release directory exists already and does not proceed if it does. This means that yocto build would fail if done after a normal release.