mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-25 21:30:10 -04:00

- On unix, filenames are case sensitive and all include files are lowercase - When crosscompiling to Windows, we use mingw32 and not msc. So we should not try to include "stdint4win.h" - Windows includes #define interface to struct. As we use interface as variable name, we need to undef interface
kiwix-tools
kiwix-tools contains a set of tools to interact with kiwix and zim files.
Build kiwix-tools
Most of the compilation steps (including dependencies download and compilation) are handle by kiwix-build script. If you don't have any special need, we recommand you to use kiwix-build instead of doing all the steps yourself.
Dependencies:
You'll need the following dependencies to build libkiwix:
- kiwix-lib (and its dependencies)
- libmicrohttpd
As we use meson to build kiwix-tools, you will need the common meson tools:
- meson >= 0.34
- ninja
- pkg-config
To build:
$ cd kiwix-lib
$ meson . build
$ cd build
$ ninja
$ ninja install
By default, it will compile dynamic linked binaries.
If you want statically linked binaries, you can add --default-library=static
option to the meson command.
Licensed as GPLv3 or later, see COPYING for more details.
Languages
C++
66.1%
Roff
22.8%
Meson
4.9%
Dockerfile
4.5%
Shell
1.7%