Added sample for C++ in combination with cmake