File: windows_cmake.rst

package info (click to toggle)
groonga 15.0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 163,080 kB
  • sloc: ansic: 770,564; cpp: 48,925; ruby: 40,447; javascript: 10,250; yacc: 7,045; sh: 5,602; python: 2,821; makefile: 1,672
file content (61 lines) | stat: -rw-r--r-- 1,645 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.. -*- rst -*-

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
:doc:`unix_cmake`.

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

Install depended software
-------------------------

  * `Microsoft Visual Studio Community
    <https://visualstudio.microsoft.com/vs/community/>`_
  * `CMake <http://www.cmake.org/>`_
  * `Ruby <https://www.ruby-lang.org/>`_

    * `RubyInstaller for Windows <http://rubyinstaller.org/>`_ is
      recommended.

  * `Git <https://git-scm.com/>`_: There are some Git clients for
    Windows. For example:

    * `The official Git package <https://git-scm.com/download/win>`_
    * `TortoiseGit <https://tortoisegit.org/>`_
    * `Git for Windows <https://git-for-windows.github.io/>`_
    * `GitHub Desktop <https://desktop.github.com/>`_

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
<https://github.com/groonga/groonga>`_. Checkout the latest source
code from the repository::

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

Run ``cmake``
-------------

See :ref:`cmake-run`.

Build Groonga
-------------

See :ref:`cmake-build-and-install`.

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

See also
--------

  * :doc:`/contribution/development/test`