Building example using CMake issue:
- wrong output files path generation (.cpp) was fixed;
- file extensions pattern was extended.