]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/idl-compiler/meson.build
Add Meson buildsystem support
[orte.git] / orte / idl-compiler / meson.build
diff --git a/orte/idl-compiler/meson.build b/orte/idl-compiler/meson.build
new file mode 100644 (file)
index 0000000..647ea44
--- /dev/null
@@ -0,0 +1,24 @@
+orte_idl = executable(
+  'orte-idl',
+  [
+    'orte-idl-main.c',
+    'orte-idl-driver.c',
+    'orte-idl-utils.c',
+    'orte-idl-c-backend.c',
+    'orte-idl-c-headers.c',
+    'orte-idl-c-impls.c',
+    'orte-idl-c-utils.c',
+  ],
+  dependencies: [
+    dependency('popt'),
+    dependency('libIDL-2.0'),
+  ],
+  install: true,
+)
+
+# TODO: Add support for output directory to orte-idl
+gen_orte_idl = generator(
+  orte_idl,
+  output: ['@BASENAME@.c', '@BASENAME@.h'],
+  arguments : ['@INPUT@'],
+)