This commit is contained in:
kento2 2026-09-04 19:59:24 +02:00
commit 55385f8857
69 changed files with 1125 additions and 0 deletions

26
fetcher/meson.build Normal file
View file

@ -0,0 +1,26 @@
project(
'fetcher', 'c',
default_options: [
'c_std=c99',
'warning_level=2',
],
)
cc = meson.get_compiler('c')
deps = [
cc.find_library('libowfat'),
dependency('libtoml'),
]
tmpdir = get_option('tmpdir')
add_project_arguments('-DTMPDIR="'+tmpdir+'"', language: 'c')
executable('fetcher', files(
'fetcher.c',
'spawnchild.c',
), dependencies:deps)
executable('fetcher-worker', files(
'fetcher-worker.c',
'spawnchild.c',
), dependencies:deps)