diff options
Diffstat (limited to 'src/lib/json')
-rw-r--r-- | src/lib/json/meson.build | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/json/meson.build b/src/lib/json/meson.build index 804b2516f..d4c3b4528 100644 --- a/src/lib/json/meson.build +++ b/src/lib/json/meson.build | |||
@@ -16,3 +16,29 @@ libgnunetjson_dep = declare_dependency(link_with : libgnunetjson) | |||
16 | pkg.generate(libgnunetjson, url: 'https://www.gnunet.org', | 16 | pkg.generate(libgnunetjson, url: 'https://www.gnunet.org', |
17 | description : 'Library for JSON de/serialization') | 17 | description : 'Library for JSON de/serialization') |
18 | 18 | ||
19 | testjson = executable ('test_json', | ||
20 | ['test_json.c'], | ||
21 | dependencies: [libgnunetutil_dep, | ||
22 | json_dep, | ||
23 | libgnunetjson_dep], | ||
24 | include_directories: [incdir, configuration_inc], | ||
25 | build_by_default: false, | ||
26 | install: false) | ||
27 | testjson_mhd = executable ('test_json_mhd', | ||
28 | ['test_json_mhd.c'], | ||
29 | dependencies: [libgnunetutil_dep, | ||
30 | json_dep, | ||
31 | mhd_dep, | ||
32 | curl_dep, | ||
33 | zlib_dep, | ||
34 | libgnunetjson_dep], | ||
35 | include_directories: [incdir, configuration_inc], | ||
36 | build_by_default: false, | ||
37 | install: false) | ||
38 | test('test_json', testjson, | ||
39 | workdir: meson.current_build_dir(), | ||
40 | suite: ['json']) | ||
41 | test('test_json_mhd', testjson_mhd, | ||
42 | workdir: meson.current_build_dir(), | ||
43 | suite: ['json']) | ||
44 | |||