mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Add a new script to compile resources.
- No more dependency to reswrap binary (everything is done in python) - Resource strings can be directly accessed. As side effect, it add a check at compilation if the resource is declared and compiled in the binary. - The resource content can be overwritten at runtime with a env variable. There is also few clean in the static as some files shoul be in the tools directory. The compile_resource script is install to let other project use it.
This commit is contained in:
4
scripts/meson.build
Normal file
4
scripts/meson.build
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
res_compiler = find_program('compile_resources.py')
|
||||
|
||||
install_data(res_compiler.path(), install_dir:get_option('bindir'))
|
Reference in New Issue
Block a user