An Introduction to CMake and How To use CUDA in PandaRoot with it