| 1 |
fccache = executable('fc-cache', ['fc-cache.c', fcstdint_h, alias_headers, ft_alias_headers], |
| 2 |
include_directories: [incbase, incsrc], |
| 3 |
dependencies: [libintl_dep], |
| 4 |
link_with: [libfontconfig], |
| 5 |
c_args: c_args, |
| 6 |
install: true, |
| 7 |
install_tag: 'tools') |
| 8 |
|
| 9 |
tools_man_pages += ['fc-cache'] |
| 10 |
|
| 11 |
# Do not try to execute target's fc-cache on host when cross compiling |
| 12 |
if get_option('cache-build').enabled() and not meson.is_cross_build() |
| 13 |
meson.add_install_script(fccache, '-s', '-f', '-v', |
| 14 |
skip_if_destdir: true, |
| 15 |
install_tag: 'tools') |
| 16 |
endif |