add cmake files for compiling