summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 9b058aaf8454bf60442055ec7e3861ae1f7eb83b (plain)
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
# Building uchardet (generic)

`uchardet` uses a typical cmake installation.

* Configure with `cmake`. There are various options. For instance to configure
  with a prefix as a release-ready build:

> cmake -DCMAKE_INSTALL_PREFIX=/home/jehan/.local -DCMAKE_BUILD_TYPE=Release

Alternatively, use `ccmake`, curses interface to `cmake`.

* Build with `make`.

* Install with `make install`.

Read `README` for more details on uchardet.

# Building uchardet on Windows

The above procedure is generic, which means it should work on any platform.
In particular, it works well on Linux.

The procedure is the same on Windows, but if you want more details (for
instance which tools to use in order to run CMake on Windows, compiler
information, etc.), the following link may be useful:
https://github.com/BYVoid/uchardet/issues/39#issuecomment-353873891