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/datacache | |
parent | a38e8d953116618e1dba7c13e32dcf0ab9c3da9d (diff) | |
download | gnunet-78bc6d9b5356af42c1fe4899689a0cc84d6ae0a8.tar.gz gnunet-78bc6d9b5356af42c1fe4899689a0cc84d6ae0a8.zip |
BUILD: Start experimental meson build
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/meson.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/datacache/meson.build b/src/datacache/meson.build new file mode 100644 index 000000000..2f8305f42 --- /dev/null +++ b/src/datacache/meson.build | |||
@@ -0,0 +1,22 @@ | |||
1 | libgnunetdatacache_src = ['datacache.c'] | ||
2 | |||
3 | libgnunetplugindatacache_sqlite_src = ['plugin_datacache_sqlite.c'] | ||
4 | |||
5 | if gnunet_monolith == false | ||
6 | libgnunetdatacache = library('gnunetdatacache', | ||
7 | libgnunetdatacache_src, | ||
8 | dependencies: [libgnunetutil_dep, libgnunetstatistics_dep], | ||
9 | include_directories: [incdir, configuration_inc]) | ||
10 | libgnunetdatacache_dep = declare_dependency(link_with : libgnunetdatacache) | ||
11 | libgnunetplugindatacache_sqlite = library('gnunet_plugin_datacache_sqlite', | ||
12 | libgnunetplugindatacache_sqlite_src, | ||
13 | dependencies: [libgnunetutil_dep, | ||
14 | libgnunetdatacache_dep, | ||
15 | sqlite_dep, | ||
16 | libgnunetsq_dep], | ||
17 | include_directories: [incdir, configuration_inc]) | ||
18 | else | ||
19 | foreach p : libgnunetdatacache_src | ||
20 | gnunet_src += 'datacache/' + p | ||
21 | endforeach | ||
22 | endif | ||