aboutsummaryrefslogtreecommitdiff
path: root/qlite/meson.build
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2023-03-20 02:01:22 +0100
committerfiaxh <fiaxh@users.noreply.github.com>2023-03-24 19:32:50 +0100
commit5a90e793ddec723677f2b715b967f29f046e16d2 (patch)
tree6a96f142526990010635607cb547b79b9c3f060e /qlite/meson.build
parentb617bf7cc4ac2aa083bcf889816d0479fa353e10 (diff)
downloaddino-5a90e793ddec723677f2b715b967f29f046e16d2.tar.gz
dino-5a90e793ddec723677f2b715b967f29f046e16d2.zip
First steps of meson support
Basic configuration of qlite, xmpp-vala, the Dino library and the Dino application are supported. There's no support for the plugins. This e.g. enables using the Vala language server.
Diffstat (limited to 'qlite/meson.build')
-rw-r--r--qlite/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/qlite/meson.build b/qlite/meson.build
new file mode 100644
index 00000000..714a4224
--- /dev/null
+++ b/qlite/meson.build
@@ -0,0 +1,22 @@
+dependencies = [
+ dep_gee,
+ dep_glib,
+ dep_sqlite3,
+]
+sources = files(
+ 'src/column.vala',
+ 'src/database.vala',
+ 'src/delete_builder.vala',
+ 'src/insert_builder.vala',
+ 'src/query_builder.vala',
+ 'src/row.vala',
+ 'src/statement_builder.vala',
+ 'src/table.vala',
+ 'src/update_builder.vala',
+ 'src/upsert_builder.vala',
+)
+c_args = [
+ '-DG_LOG_DOMAIN="qlite"',
+]
+lib_qlite = library('qlite', sources, c_args: c_args, vala_args: ['--vapidir', meson.current_source_dir() / 'vapi'], dependencies: dependencies)
+dep_qlite = declare_dependency(link_with: lib_qlite, include_directories: include_directories('.'))