CMake is text-based build system by Kitware that can generate a number of build systems, including UNIX Makefiles, Visual Studio projects, and Xcode projects.

Major Mode

CMake comes with a major mode, see CMake Git repository.

Advanced Font Lock Rules

An alternative, more advanced, set of highlight rules for CMake is provided by CMakeFontLock.


The package CMakeProjects integrates CMake with the Emacs build system and with FlyMake.