Skip to main content
`Ctrl`+`K`

# 12.3.2.2. How to build Groonga at the repository by CMake on Windows

This document describes how to build Groonga at the repository by CMake on Windows.

If you want to use GNU/Linux or Unix for developing Groonga, see How to build Groonga at the repository by CMake on GNU/Linux or Unix.

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

## 12.3.2.2.1. Install depended software

> - Microsoft Visual Studio Community

> - CMake

> - Ruby

>   - RubyInstaller for Windows is recommended.

> - Git: There are some Git clients for Windows. For example:

>   - The official Git package

>   - TortoiseGit

>   - Git for Windows

>   - GitHub Desktop

## 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. Build Groonga

See Build and install Groonga.

Developers should specify `--config Debug` for debugging.

## 12.3.2.2.5. See also

> - テスト方法