diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-20 14:41:29 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-20 14:41:29 +0200 |
commit | 78bc6d9b5356af42c1fe4899689a0cc84d6ae0a8 (patch) | |
tree | dbea7dfe0721fc3f752776c3445c435d875e984b /src/json | |
parent | a38e8d953116618e1dba7c13e32dcf0ab9c3da9d (diff) | |
download | gnunet-78bc6d9b5356af42c1fe4899689a0cc84d6ae0a8.tar.gz gnunet-78bc6d9b5356af42c1fe4899689a0cc84d6ae0a8.zip |
BUILD: Start experimental meson build
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/meson.build | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/json/meson.build b/src/json/meson.build new file mode 100644 index 000000000..cbb826a66 --- /dev/null +++ b/src/json/meson.build | |||
@@ -0,0 +1,17 @@ | |||
1 | libgnunetjson_src = ['json.c', | ||
2 | 'json_generator.c', | ||
3 | 'json_helper.c', | ||
4 | 'json_mhd.c', | ||
5 | 'json_pack.c'] | ||
6 | |||
7 | if gnunet_monolith == false | ||
8 | libgnunetjson = library('gnunetjson', | ||
9 | libgnunetjson_src, | ||
10 | dependencies: [libgnunetutil_dep, json_dep, mhd_dep, zlib_dep], | ||
11 | include_directories: [incdir, configuration_inc]) | ||
12 | libgnunetjson_dep = declare_dependency(link_with : libgnunetjson) | ||
13 | else | ||
14 | foreach p : libgnunetjson_src + gnunetservicejson_src | ||
15 | gnunet_src += 'json/' + p | ||
16 | endforeach | ||
17 | endif | ||