summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2023-03-31doc: add CMake option `ENABLE_DOC_INCOMPLETE` to force build of incomplete ↵Sébastien Helleu
docs (closes #1901)
2023-03-31build: add condition to enable gcc/g++ specific optionsSébastien Helleu
This fixes warnings with clang.
2023-03-30ci: disable build of doc when NLS is disabledSébastien Helleu
2023-03-30doc: convert docgen.py to C, remove autogen files from repository, add ↵Sébastien Helleu
parameter `--doc-gen` Changes: - build of doc now requires weechat-headless, translations and all plugins - convert docgen.py to C - remove `autogen_*` files from repository - add command line parameter `--doc-gen` in `weechat-headless` to build autogen files - build .mo files with directories like the installed ones (eg: "<lang>/LC_MESSAGES/weechat.mo") - remove javascript chapter from user's guide
2023-03-25core: remove obsolete cpack configSébastien Helleu
This config was used to build binary package of WeeChat, which was never released in this format.
2023-03-23core: add extra compiler options to check overflow of destination buffer and ↵Sébastien Helleu
output truncation
2023-01-06core: add CMake test called "notests" when tests are not compiledSébastien Helleu
Now the command `make test` executes properly and returns 0 when test are not compiled.
2023-01-06Revert "core: add a fake target "test" so that `make test` successes when ↵Sébastien Helleu
tests are not compiled" This reverts commit 129860fd52f3c0c040229a52371798c026fed4ab.
2023-01-05core: add a fake target "test" so that `make test` successes when tests are ↵Sébastien Helleu
not compiled
2023-01-05core: rename script git-version.sh to set_git_version.shSébastien Helleu
2023-01-01core: update copyright datesSébastien Helleu
2022-10-15python: remove support of Python 2.xSébastien Helleu
2022-08-13core: fix CMake warning in Python detectionSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-12-24relay: add zstd compression in weechat protocolSébastien Helleu
Option relay.network.compression_level is renamed to relay.network.compression and is now a percentage between 0 (no compression) to 100 (best compression, slowest). Compression is now disabled by default in weechat protocol and must be enabled via the `handshake` command (option `compression` has been removed from `init` command).
2021-11-21core: fix compilation with Ruby 3.0 on macOS (issue #1721, closes #1605)Sébastien Helleu
2021-09-19typing: correct typo in CMake option descriptionJan Palus
2021-07-04typing: add typing pluginSébastien Helleu
2021-05-12core: improve options to load GnuTLS system/user CAs (closes #972)Sébastien Helleu
Changes: * new option: weechat.network.gnutls_ca_system * option weechat.network.gnutls_ca_file renamed to weechat.network.gnutls_ca_user * reload certificates when options are changed * remove build option CA_FILE
2021-05-11core: mention evaluation with string_eval_path_home for CMake/autotools ↵Sébastien Helleu
option CA_FILE (issue #1285)
2021-05-11core: set WeeChat home to empty string by default in CMake and autotools ↵Sébastien Helleu
(issue #1285)
2021-05-08core: Use mallinfo2() when availableAndrew Potter
mallinfo() is deprecated in glibc 2.33
2021-01-02core: update copyright datesSébastien Helleu
2020-11-29Revert "core: add extra compiler options to check overflow of destination ↵Sébastien Helleu
buffer and output truncation" This reverts commit 4ff4a64209f63cf2a048f7941168336da58727ab. These compiler flags are not supported on old compiler version, for example on Debian Stretch/Jessie and Ubuntu Xenial (16.04).
2020-11-28core: add extra compiler options to check overflow of destination buffer and ↵Sébastien Helleu
output truncation
2020-06-13javascript: disable build by default and remove Debian packaging of ↵Sébastien Helleu
JavaScript plugin (issue #360)
2020-04-18core: make GnuTLS a required dependencySébastien Helleu
2020-04-12core: fix indentationSébastien Helleu
2020-04-12cmake: fix bugged WEECHAT_SHAREDIR definition exposed by DATAROOTDIR renameEli Schwartz
configure.ac defines this to /usr/share/weechat, which means scripts can load from this directory as a fallback for $HOME/.weechat/, but cmake defines this instead as /usr/share, which means system-installed fallback scripts would need to be installed to /usr/share/python/foo.py instead, and that's completely insane! Fix this discrepancy by creating a cmake define specifically for WEECHAT_SHAREDIR based on the datarootdir, just like autotools does it.
2020-04-12cmake: rename internal variable SHAREDIR to DATAROOTDIREli Schwartz
This is how other build systems (e.g. autotools) see the variable, and cmake's own GNUInstallDirs defines the same. It more clearly describes what this setting does vs. the ambiguous "sharedir".
2020-01-04core: update copyright datesSébastien Helleu
2019-11-18core: add different icons sizes (16x16 to 512x512) (closes #1347)Sébastien Helleu
2019-10-07core: add a desktop file (closes #982, closes #408)Lucas Hoffmann
2019-10-01core: fix style in CMake filesSébastien Helleu
2019-09-27core: fix build on Alpine (closes #1406)Kyle Sabo
2019-09-15core: display an error on missing dependency in CMake (closes #916, closes #956)Sébastien Helleu
2019-08-27core: disable option "-Werror-implicit-function-declaration" for C++ compilerSébastien Helleu
This option is valid for C compiler only.
2019-07-31core: fix help on python to build with Python 2 (issue #1382)Sébastien Helleu
2019-07-01core: compile with Python 3 by defaultSébastien Helleu
The CMake option ENABLE_PYTHON3 is renamed to ENABLE_PYTHON2, to use Python 2 first then fallback on Python 3. In the same way, the configure option --enable-python3 is renamed to --enable-python2, to use Python 2 first then fallback on Python 3.
2019-05-01core: replace CMAKE_INSTALL_PREFIX by ${prefix} in libdir (weechat.pc)Sébastien Helleu
2019-04-25cmake: allow custom libdir (fix #1341)Ryan Farley
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR used to be set).
2019-03-25core: set CMake minimum version required to 3.0Sébastien Helleu
This is required for add_library() with INTERFACE library type.
2019-03-24core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage ↵Sébastien Helleu
options This option is OFF by default and should be enabled only for tests, to measure test coverage.
2019-02-19spell: rename "aspell" plugin to "spell" (issue #1299)Sébastien Helleu
The following things have been renamed: - file aspell.conf -> spell.conf - options aspell.* -> spell.* - bar item aspell_dict -> spell_dict - bar item and local variable aspell_suggest -> spell_suggest - info aspell_dict -> spell_dict
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-14core: fix forced highlight on messages sent to other buffers (closes #1277)Sébastien Helleu
The C compiler flag "-fsigned--char" is used to force "char" data type to be always signed (which is what WeeChat expects). On ARM systems, char is unsigned by default, which is causing problems when WeeChat stores -1 in the notify_level (type: char).
2018-11-14core: fix C++ compiler flags (cmake)Sébastien Helleu
2018-03-11core: add binary weechat-headless to run WeeChat without interface (closes ↵Sébastien Helleu
#1120) The optional command line option "--daemon" runs WeeChat like a daemon (fork, new process group, file descriptors closed).
2018-01-29core: fix typo: scripts manager -> script managerSébastien Helleu