diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-06-08 15:54:06 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-06-08 15:54:06 +0200 |
commit | a8589a0db6165b9b9a99c8a80bf01a953f5065c0 (patch) | |
tree | c4003a1947976638c7307923108f2bd19f41601e /doc/en | |
parent | fe1642da08bc40a1eea3d1445eb2c2b75b5118b2 (diff) | |
download | weechat-a8589a0db6165b9b9a99c8a80bf01a953f5065c0.zip |
doc: add cmake options in user's guide
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_user.en.txt | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/doc/en/weechat_user.en.txt b/doc/en/weechat_user.en.txt index 4a96bd5ed..7547155c5 100644 --- a/doc/en/weechat_user.en.txt +++ b/doc/en/weechat_user.en.txt @@ -138,6 +138,115 @@ $ make $ make install ---------------------------------------- +Options can be used for cmake, with format: "-DOPTION=VALUE". + +List of commonly used options: + +[width="100%",cols="2m,2,2m,12",options="header"] +|======================================== +| Option | Values | Default value | Description + +| CMAKE_BUILD_TYPE | `Debug`, `Release`, `RelWithDebInfo`, `MinSizeRel` | | + The type of build: `Debug` (or `RelWithDebInfo`) is recommended if you are + running development version of WeeChat. + +| PREFIX | directory | /usr/local | + The directory where WeeChat will be installed. + +| WEECHAT_HOME | directory | ~/.weechat | + The default home directory when running WeeChat. + +| ENABLE_ALIAS | `ON`, `OFF` | ON | + Compile <<alias_plugin,Alias plugin>>. + +| ENABLE_ASPELL | `ON`, `OFF` | ON | + Compile <<aspell_plugin,Aspell plugin>>. + +| ENABLE_CHARSET | `ON`, `OFF` | ON | + Compile <<charset_plugin,Charset plugin>>. + +| ENABLE_DEMO | `ON`, `OFF` | OFF | + Compile Demo plugin. + +| ENABLE_DOC | `ON`, `OFF` | ON | + Compile documentation (it takes a long time, you can turn off to speed up + the compilation). + +| ENABLE_ENCHANT | `ON`, `OFF` | OFF | + Compile <<aspell_plugin,Aspell plugin>> with Enchant. + +| ENABLE_FIFO | `ON`, `OFF` | ON | + Compile <<fifo_plugin,Fifo plugin>>. + +| ENABLE_GNUTLS | `ON`, `OFF` | ON | + Enable Gnutls (for SSL). + +| ENABLE_GUILE | `ON`, `OFF` | ON | + Compile <<scripts_plugins,Guile plugin>> (Scheme). + +| ENABLE_IRC | `ON`, `OFF` | ON | + Compile <<irc_plugin,IRC plugin>>. + +| ENABLE_LARGEFILE | `ON`, `OFF` | ON | + Support of large files. + +| ENABLE_LOGGER | `ON`, `OFF` | ON | + Compile <<logger_plugin,Logger plugin>>. + +| ENABLE_LUA | `ON`, `OFF` | ON | + Compile <<scripts_plugins,Lua plugin>>. + +| ENABLE_NCURSES | `ON`, `OFF` | ON | + Compile Ncurses interface. + +| ENABLE_NLS | `ON`, `OFF` | ON | + Enable NLS (translations). + +| ENABLE_PERL | `ON`, `OFF` | ON | + Compile <<scripts_plugins,Perl plugin>>. + +| ENABLE_PYTHON | `ON`, `OFF` | ON | + Compile <<scripts_plugins,Python plugin>>. + +| ENABLE_PYTHON3 | `ON`, `OFF` | OFF | + Compile <<scripts_plugins,Python plugin>> using Python 3 (*NOT* recommended + because many scripts are not compatible with Python 3). + +| ENABLE_RELAY | `ON`, `OFF` | ON | + Compile <<relay_plugin,Relay plugin>>. + +| ENABLE_RMODIFIER | `ON`, `OFF` | ON | + Compile <<rmodifier_plugin,Rmodifier plugin>>. + +| ENABLE_RUBY | `ON`, `OFF` | ON | + Compile <<scripts_plugins,Ruby plugin>>. + +| ENABLE_SCRIPT | `ON`, `OFF` | ON | + Compile <<scripts_plugins,Script plugin>>. + +| ENABLE_SCRIPTS | `ON`, `OFF` | ON | + Compile <<scripts_plugins,script plugins>> (Python, Perl, Ruby, Lua, Tcl, + Guile). + +| ENABLE_TCL | `ON`, `OFF` | ON | + Compile <<scripts_plugins,Tcl plugin>>. + +| ENABLE_XFER | `ON`, `OFF` | ON | + Compile <<xfer_plugin,Xfer plugin>>. +|======================================== + +The other options can be displayed with this command: + +---------------------------------------- +$ cmake -LA +---------------------------------------- + +Or with Curses interface: + +---------------------------------------- +$ ccmake .. +---------------------------------------- + [[compile_with_autotools]] Compile with autotools ^^^^^^^^^^^^^^^^^^^^^^ @@ -165,6 +274,13 @@ $ make $ make install ---------------------------------------- +Options can be used for 'configure' script, they can be displayed with this +command: + +---------------------------------------- +$ ./configure --help +---------------------------------------- + [[git_sources]] Git sources ~~~~~~~~~~~ |