This is a small example that demonstrates how OpenCV including contrib modules can be compiled from sources only using CMake as part of the build. Suggestions for improvements are welcome and ...