From f065b43b71fe7b492607a66b2c13cf489af1b9b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 7 Jun 2019 21:14:17 +0200 Subject: doc: replace "cmake" by "CMake" --- doc/en/weechat_dev.en.adoc | 2 +- doc/en/weechat_faq.en.adoc | 4 ++-- doc/en/weechat_tester.en.adoc | 4 ++-- doc/en/weechat_user.en.adoc | 20 ++++++++++---------- 4 files changed, 15 insertions(+), 15 deletions(-) (limited to 'doc/en') diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc index 6f8b0b40f..586b6e6dc 100644 --- a/doc/en/weechat_dev.en.adoc +++ b/doc/en/weechat_dev.en.adoc @@ -1086,7 +1086,7 @@ Examples of commit messages: irc: add command /unquiet (closes #36) core: add callback "nickcmp" for nick comparison in buffers irc: fix freeze when reading on socket with SSL enabled (bug #35097) -ruby: add detection of ruby version 1.9.3 in cmake +ruby: add detection of ruby version 1.9.3 in CMake python: fix crash when unloading a script without pointer to interpreter core: update Japanese translations (patch #7783) ---- diff --git a/doc/en/weechat_faq.en.adoc b/doc/en/weechat_faq.en.adoc index 4bf9cd20e..1ad1c2746 100644 --- a/doc/en/weechat_faq.en.adoc +++ b/doc/en/weechat_faq.en.adoc @@ -47,10 +47,10 @@ https://weechat.org/about/interfaces === I can't compile WeeChat after cloning git repository, why? The recommended way to compile WeeChat is with -link:weechat_user.en.html#compile_with_cmake[cmake]. +link:weechat_user.en.html#compile_with_cmake[CMake]. If you're compiling with link:weechat_user.en.html#compile_with_autotools[autotools] -(and not cmake), check that you have latest version of autoconf and automake. +(and not CMake), check that you have latest version of autoconf and automake. The other way is to install the "devel package", which needs less dependencies. This package is built almost every day using git repository. Note that this diff --git a/doc/en/weechat_tester.en.adoc b/doc/en/weechat_tester.en.adoc index 54aa29485..44ae53e88 100644 --- a/doc/en/weechat_tester.en.adoc +++ b/doc/en/weechat_tester.en.adoc @@ -83,7 +83,7 @@ $ tar xvjf weechat-devel.tar.bz2 $ cd weechat-devel ---- -To build sources, cmake is recommended: +To build sources, CMake is recommended: ---- $ mkdir build @@ -93,7 +93,7 @@ $ make $ make install ---- -If you don't have cmake, it's still possible to use autotools: +If you don't have CMake, it's still possible to use autotools: ---- $ ./autogen.sh diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 8c12cfa88..429546a39 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -79,7 +79,7 @@ instructions. [[source_package]] === Source package -WeeChat can be compiled with cmake or autotools (cmake is recommended way). +WeeChat can be compiled with CMake or autotools (CMake is recommended way). [NOTE] On macOS, you can use https://brew.sh/[Homebrew]: @@ -98,7 +98,7 @@ compile WeeChat. | C compiler (gcc, clang, ...) | | *yes* | Build. | C++ compiler | | | Build and run tests, JavaScript plugin. -| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but cmake is recommended). +| cmake | ≥ 3.0 | *yes* | Build (autotools still possible, but CMake is recommended). | pkg-config | | *yes* | Detect installed libraries. | libncursesw5-dev ^(2)^ | | *yes* | Ncurses interface. | libcurl4-gnutls-dev | | *yes* | URL transfer. @@ -144,7 +144,7 @@ all dependencies with the command: ---- [[compile_with_cmake]] -==== Compile with cmake +==== Compile with CMake * Installation in system directories (requires _root_ privileges): @@ -166,7 +166,7 @@ $ make $ make install ---- -Options can be used for cmake, with format: "-DOPTION=VALUE". +Options can be used for CMake, with format: "-DOPTION=VALUE". List of commonly used options: @@ -308,9 +308,9 @@ $ ccmake .. ==== Compile with autotools [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. +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. * Installation in system directories (requires _root_ privileges): @@ -349,13 +349,13 @@ 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 (with CMake): ---- $ 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 (with CMake): ---- $ ctest -V @@ -389,7 +389,7 @@ you have to: [[debug_info]] ==== Debug info -If you're compiling with cmake: +If you're compiling with CMake: ---- $ cmake .. -DCMAKE_BUILD_TYPE=Debug -- cgit v1.2.3