build: meson support for phosphor-log-manager
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5400d21d59b3c1ff8bde61d80eaec1cb6701a8cb
diff --git a/gen/xyz/meson.build b/gen/xyz/meson.build
new file mode 100644
index 0000000..e4991ad
--- /dev/null
+++ b/gen/xyz/meson.build
@@ -0,0 +1,2 @@
+# Generated file; do not modify.
+subdir('openbmc_project')
diff --git a/gen/xyz/openbmc_project/Logging/Internal/Manager/meson.build b/gen/xyz/openbmc_project/Logging/Internal/Manager/meson.build
new file mode 100644
index 0000000..230448b
--- /dev/null
+++ b/gen/xyz/openbmc_project/Logging/Internal/Manager/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Logging/Internal/Manager__cpp'.underscorify(),
+ input: [ meson.project_source_root() / 'xyz/openbmc_project/Logging/Internal/Manager.interface.yaml', ],
+ output: [ 'server.cpp', 'server.hpp', 'client.hpp', ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.project_source_root(),
+ 'xyz/openbmc_project/Logging/Internal/Manager',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/Logging/Internal/meson.build b/gen/xyz/openbmc_project/Logging/Internal/meson.build
new file mode 100644
index 0000000..aaa5ce8
--- /dev/null
+++ b/gen/xyz/openbmc_project/Logging/Internal/meson.build
@@ -0,0 +1,16 @@
+# Generated file; do not modify.
+subdir('Manager')
+generated_others += custom_target(
+ 'xyz/openbmc_project/Logging/Internal/Manager__markdown'.underscorify(),
+ input: [ meson.project_source_root() / 'xyz/openbmc_project/Logging/Internal/Manager.interface.yaml', ],
+ output: [ 'Manager.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.project_source_root(),
+ 'xyz/openbmc_project/Logging/Internal/Manager',
+ ],
+ build_by_default: true,
+)
+
diff --git a/gen/xyz/openbmc_project/Logging/meson.build b/gen/xyz/openbmc_project/Logging/meson.build
new file mode 100644
index 0000000..6421d35
--- /dev/null
+++ b/gen/xyz/openbmc_project/Logging/meson.build
@@ -0,0 +1,2 @@
+# Generated file; do not modify.
+subdir('Internal')
diff --git a/gen/xyz/openbmc_project/meson.build b/gen/xyz/openbmc_project/meson.build
new file mode 100644
index 0000000..1b45c9d
--- /dev/null
+++ b/gen/xyz/openbmc_project/meson.build
@@ -0,0 +1,2 @@
+# Generated file; do not modify.
+subdir('Logging')