meson: Add alternative to autotools build system
Change-Id: Ib22d670aed7b17cd1722e8cc915bd8850ce22475
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..3fbefd7
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,30 @@
+project(
+ 'obmc-ikvm',
+ 'cpp',
+ version: '1.0',
+ license: 'GPLv2',
+ default_options: [
+ 'cpp_std=c++17',
+ 'werror=true',
+ ],
+)
+
+executable(
+ 'obmc-ikvm',
+ [
+ 'ikvm_args.cpp',
+ 'ikvm_input.cpp',
+ 'ikvm_manager.cpp',
+ 'ikvm_server.cpp',
+ 'ikvm_video.cpp',
+ 'obmc-ikvm.cpp',
+ ],
+ dependencies: [
+ dependency('libvncserver'),
+ dependency('phosphor-logging'),
+ dependency('phosphor-dbus-interfaces'),
+ dependency('sdbusplus'),
+ dependency('threads'),
+ ],
+ install: true
+)