INSTALL: update compilation instructions.

This commit is contained in:
Jehan 2017-03-25 00:08:16 +01:00
parent d90d01bc9e
commit 56b843522b

20
INSTALL
View File

@ -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.