new cmake script improvements to checkout extra code from git/svn automatically