12.3.2.2. How to build Groonga at the repository by CMake on GNU/Linux or Unix

This document describes how to build Groonga at the repository by CMake on GNU/Linux or Unix.

Unix is *BSD, Solaris, OS X and so on.

If you want to use Windows for developing Groonga, see How to build Groonga at the repository by CMake on Windows.

You can’t choose this way if you want to release Groonga. Groonga release system is only supported by GNU Autotools build. See How to build Groonga at the repository by GNU Autotools about GNU Autotools build.

12.3.2.2.1. Install depended software

TODO

12.3.2.2.2. Checkout Groonga from the repository

Users use released source archive. But developers must build Groonga at the repository. Because source code in the repository is the latest.

The Groonga repository is hosted on GitHub. Checkout the latest source code from the repository:

% git clone --recursive git@github.com:groonga/groonga.git

12.3.2.2.3. Run cmake

See Run cmake.

12.3.2.2.4. Run make

See Build and install Groonga.

12.3.2.2.5. See also