get and compile cmake