Use cmake in target-based approach and provide Export for cmake targets. Also Add a build shell script for linux, macOS and windows (using gitbash).