CMake is a cross-platform build system for C/C++. It works by converting its own build configuration CMakeLists.txt into a platform-dependent build system configuration (e.g. Make, MSBuild, XCode).

Usage

With an existing CMakeLists.txt, to generate a build system in ./build, run

mkdir ./build
cd build
cmake ..