core: update build instructions in README (closes #1024)

v2.8-utf8proc
Sébastien Helleu 2017-07-02 07:28:05 +02:00
parent 2a94dc1359
commit c03ac468ca
1 changed files with 13 additions and 1 deletions

View File

@ -67,12 +67,24 @@ Only CMake is officially supported to build WeeChat. You should only use
autotools if you are not able to use CMake. +
Building with autotools requires more dependencies and is slower than with CMake.
To build and install in system directories:
----
$ mkdir build
$ cd build
$ cmake ..
$ make
# make install
----
To build and install in a custom directory, for example your home:
----
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
$ make
$ make install (as root for installation in system directories)
$ make install
----
For more information or installation with autotools, please look at