[gvdb/wip/pwithnall/meson] build: Add very basic meson build system




commit f5522045cd614d9885f89992aba095892b3f2b25
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Jun 7 18:00:41 2022 +0100

    build: Add very basic meson build system
    
    This doesn’t build any files, but does expose the list of sources as a
    Meson variable so it can be used as a subproject from other projects.
    
    I thought about building a static library for gvdb, but this would cause
    problems for libgio (and gvdb’s use inside libgio is the motivation for
    making it subproject-able). gvdb depends on libgio types, such as
    `GCancellable`, but also is a dependency of parts of libgio, such as
    `GResource`. That circular dependency means that building a static
    library is non-trivial.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 meson.build | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..78a50cb
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,9 @@
+project('gvdb', 'c',
+    version: '0.0',
+    meson_version: '>=0.48.0',
+)
+
+libgvdb_sources = files(
+    'gvdb-builder.c',
+    'gvdb-reader.c',
+)
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]