mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-08-03 02:06:05 -04:00

Mustache templating system is a bit simpler than ctpp2 and ctpp2 is no more maintained (see #189). We are moving to the kainjow's Mustache project (https://github.com/kainjow/Mustache). It simplify a lot our system has it is header only and we don't have to precompile the template. Fix #21
12 lines
358 B
Meson
12 lines
358 B
Meson
|
|
lib_resources = custom_target('resources',
|
|
input: 'resources_list.txt',
|
|
output: ['kiwixlib-resources.cpp', 'kiwixlib-resources.h'],
|
|
command:[res_compiler,
|
|
'--cxxfile', '@OUTPUT0@',
|
|
'--hfile', '@OUTPUT1@',
|
|
'--source_dir', '@OUTDIR@',
|
|
'@INPUT@'],
|
|
depend_files: 'static/search_result.tmpl'
|
|
)
|