File: INSTALL

package info (click to toggle)
uchardet 0.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,168 kB
  • sloc: cpp: 7,767; python: 1,254; sh: 85; ansic: 74; makefile: 9
file content (26 lines) | stat: -rw-r--r-- 849 bytes parent folder | download
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