mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-07 01:06:40 +08:00
INSTALL: update compilation instructions.
This commit is contained in:
parent
d90d01bc9e
commit
56b843522b
20
INSTALL
20
INSTALL
@ -1,4 +1,16 @@
|
|||||||
Execute release.sh or manually make a directory and check in, and execute
|
# INSTALL uchardet
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && make
|
|
||||||
Then install
|
`uchardet` uses a typical cmake installation.
|
||||||
sudo make install
|
|
||||||
|
* 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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user