mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56: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
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && make
|
||||
Then install
|
||||
sudo make install
|
||||
# INSTALL uchardet
|
||||
|
||||
`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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user