Common code base for all Kiwix ports
Go to file
Matthieu Gautier 97bdc17651 All static compilation with several generated resource code.
If there are several uses of the compile_resource script it will have
several definition of getResource function.

So, define a custum getResource function per resources "pack" and add
a define to have a nice API.

A developer must take care of not include two generated .h in the same
compilation unit as there will be a redefine error.
The best way to avoid this is to always include the generated .h in the
c(pp) file and never in a header.
If a compilation unit need to use two pack at the same time, we have to
undef 'getResource' and use the real getResource_* methods.
2016-12-23 14:27:58 +01:00
include Add a new script to compile resources. 2016-12-23 13:06:12 +01:00
scripts All static compilation with several generated resource code. 2016-12-23 14:27:58 +01:00
src Add a new script to compile resources. 2016-12-23 13:06:12 +01:00
static Add a new script to compile resources. 2016-12-23 13:06:12 +01:00
meson.build Add a new script to compile resources. 2016-12-23 13:06:12 +01:00
meson_options.txt Switch build system to mesonbuild. 2016-12-22 12:01:20 +01:00