creating cmakelists.txt & .tar.gz on the fly