build: add sdbus++-gen-meson generated files
Use the tool to generate the meson.build files for the current
tree of interfaces, but do not utilize them yet. Add a
small helper tool to regenerate as needed.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie1f68984e5b01dcab661863d2ac719d0e3cd45c1
diff --git a/gen/org/open_power/Sensor/Aggregation/History/meson.build b/gen/org/open_power/Sensor/Aggregation/History/meson.build
new file mode 100644
index 0000000..5771c9f
--- /dev/null
+++ b/gen/org/open_power/Sensor/Aggregation/History/meson.build
@@ -0,0 +1,31 @@
+# Generated file; do not modify.
+subdir('Average')
+generated_others += custom_target(
+ 'org/open_power/Sensor/Aggregation/History/Average__markdown'.underscorify(),
+ input: [ meson.source_root() / 'org/open_power/Sensor/Aggregation/History/Average.interface.yaml', ],
+ output: [ 'Average.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'org/open_power/Sensor/Aggregation/History/Average',
+ ],
+ build_by_default: true,
+)
+
+subdir('Maximum')
+generated_others += custom_target(
+ 'org/open_power/Sensor/Aggregation/History/Maximum__markdown'.underscorify(),
+ input: [ meson.source_root() / 'org/open_power/Sensor/Aggregation/History/Maximum.interface.yaml', ],
+ output: [ 'Maximum.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'org/open_power/Sensor/Aggregation/History/Maximum',
+ ],
+ build_by_default: true,
+)
+