1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-25 01:05:37 +00:00
elinks/src/cookies/meson.build

13 lines
610 B
Meson
Raw Permalink Normal View History

srcs += files('cookies.c', 'dialogs.c', 'path.c', 'parser.c')
if get_option('test')
exe = executable('cookies-t', 'cookies-t.c', 'path.c', include_directories:['..'], build_by_default:false)
2024-06-03 15:22:24 +00:00
test_lib = environment({'TEST_LIB': meson.source_root() / 'test/libtest.sh'})
t = find_program('test-cookies-t')
test('cookies', t, depends:[exe], env:test_lib, workdir:meson.current_build_dir())
2022-10-08 08:43:13 +00:00
parsetstdeps = files('parser.c', 'parsetst.c')
2022-10-08 08:43:13 +00:00
executable('parsetst', parsetstdeps, testdeps, dependencies:[iconvdeps], c_args:['-DHAVE_CONFIG_H'], include_directories:['.', '..', '../..'])
endif