diff options
Diffstat (limited to 'doc/it/weechat_user.it.adoc')
-rw-r--r-- | doc/it/weechat_user.it.adoc | 64 |
1 files changed, 13 insertions, 51 deletions
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 4ef373fcc..fa2e6db9a 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -114,8 +114,8 @@ repository. [[source_package]] === Sorgenti -WeeChat può essere compilato con CMake oppure autotools -(tuttavia si raccomanda CMake). +// TRANSLATION MISSING +WeeChat must be built with CMake. // TRANSLATION MISSING [NOTE] @@ -126,7 +126,7 @@ On macOS, you can use https://brew.sh/[Homebrew ^↗^,window=_blank]: ==== Dipendenze // TRANSLATION MISSING -The following table shows the list of packages that are *required* to compile +The following table shows the list of packages that are *required* to build WeeChat: [width="100%",cols="5,^3,.^15",options="header"] @@ -136,10 +136,11 @@ WeeChat: // TRANSLATION MISSING | C compiler (gcc / clang) | -| Build. +| Compile C sources. +// TRANSLATION MISSING | cmake | ≥ 3.0 -| Compilazione (ancora possibile con autotools, ma si raccomanda CMake). +| Build. // TRANSLATION MISSING | pkg-config | @@ -233,8 +234,9 @@ all dependencies with the command: # apt-get build-dep weechat ---- -[[compile_with_cmake]] -==== Compilazione con CMake +// TRANSLATION MISSING +[[build]] +==== Build * Installazione nelle directory di sistema (richiede privilegi di _root_): @@ -391,62 +393,22 @@ Or with Curses interface: $ ccmake .. ---- -[[compile_with_autotools]] -==== Compilazione con autotools - -// TRANSLATION MISSING -[WARNING] -Only CMake is officially supported to build WeeChat. You should use autotools -only if you are not able to use CMake. + -Build with autotools requires more dependencies and is slower than with CMake. - -* Installazione nelle directory di sistema (richiede privilegi di _root_): - ----- -$ ./autogen.sh -$ mkdir build -$ cd build -$ ../configure -$ make -$ sudo make install ----- - -// TRANSLATION MISSING -* Installazione in una directory personalizzata (for example your home): - ----- -$ ./autogen.sh -$ mkdir build -$ cd build -$ ../configure --prefix=/path/to/directory -$ make -$ make install ----- - -// TRANSLATION MISSING -Options can be used for _configure_ script, they can be displayed with this -command: - ----- -$ ./configure --help ----- - // TRANSLATION MISSING -[[run_tests]] -==== Run tests +[[tests]] +==== Tests Following packages are *required* to compile tests: * libcpputest-dev * C++ compiler -Tests must be enabled when compiling WeeChat (with CMake): +Tests must be enabled when compiling WeeChat: ---- $ cmake .. -DENABLE_TESTS=ON ---- -They can be launched after compilation from the build directory (with CMake): +They can be launched after compilation from the build directory: ---- $ ctest -V |