Debian Codegraph @

doc/source/contribution/development/build/windows_cmake.rst

raw
1 .. -*- rst -*-
2
3 How to build Groonga at the repository by CMake on Windows
4 ==========================================================
5
6 This document describes how to build Groonga at the repository by
7 CMake on Windows.
8
9 If you want to use GNU/Linux or Unix for developing Groonga, see
10 :doc:`unix_cmake`.
11
12 Unix is \*BSD, Solaris, OS X and so on.
13
14 Install depended software
15 -------------------------
16
17 * `Microsoft Visual Studio Community
18 <https://visualstudio.microsoft.com/vs/community/>`_
19 * `CMake <http://www.cmake.org/>`_
20 * `Ruby <https://www.ruby-lang.org/>`_
21
22 * `RubyInstaller for Windows <http://rubyinstaller.org/>`_ is
23 recommended.
24
25 * `Git <https://git-scm.com/>`_: There are some Git clients for
26 Windows. For example:
27
28 * `The official Git package <https://git-scm.com/download/win>`_
29 * `TortoiseGit <https://tortoisegit.org/>`_
30 * `Git for Windows <https://git-for-windows.github.io/>`_
31 * `GitHub Desktop <https://desktop.github.com/>`_
32
33 Checkout Groonga from the repository
34 ------------------------------------
35
36 Users use released source archive. But developers must build Groonga
37 at the repository. Because source code in the repository is the
38 latest.
39
40 The Groonga repository is hosted on `GitHub
41 <https://github.com/groonga/groonga>`_. Checkout the latest source
42 code from the repository::
43
44 > git clone --recursive [email protected]:groonga/groonga.git
45
46 Run ``cmake``
47 -------------
48
49 See :ref:`cmake-run`.
50
51 Build Groonga
52 -------------
53
54 See :ref:`cmake-build-and-install`.
55
56 Developers should specify ``--config Debug`` for debugging.
57
58 See also
59 --------
60
61 * :doc:`/contribution/development/test`