Add cmake major mode.