Add CMake configuration

The portable build configuration is convenient to build and run examples.