aboutsummaryrefslogtreecommitdiff
path: root/qlite/meson.build
diff options
context:
space:
mode:
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('.'))