Add bash script to generate cmake project for OS X/Linux

Attention: Xcode project does not work, yet.