meson: add basic meson
Since we don't have a CI for standard Make repositories anymore,
this repository has no CI. Begin a simple meson conversion to
enable some CI for the bare minimum aspects of the repository still
being used in openbmc/openbmc.
- libopenbmc_intf
- op-pwrctl
- pgood_wait
- op-hostctl
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I598e91c08b5ad607b68c18bfa9a870603df19397
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..e5814ff
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,20 @@
+project(
+ 'skeleton',
+ 'c',
+ version: '1.0',
+ default_options: [
+ 'buildtype=debugoptimized',
+ 'warning_level=2',
+ 'werror=true',
+ ],
+)
+
+cjson_dep = dependency('libcjson', fallback: 'cjson')
+gio_unix_dep = dependency('gio-unix-2.0')
+glib_dep = dependency('glib-2.0')
+libsystemd_dep = dependency('libsystemd')
+
+subdir('libopenbmc_intf')
+
+subdir('op-pwrctl')
+subdir('op-hostctl')