From c03ac468ca0c985cc3ce5ed9c3133234ed38d0f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 2 Jul 2017 07:28:05 +0200 Subject: [PATCH] core: update build instructions in README (closes #1024) --- README.adoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index a6cb5729a..d0e735fe5 100644 --- a/README.adoc +++ b/README.adoc @@ -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