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/xyz/openbmc_project/State/Boot/PostCode/meson.build b/gen/xyz/openbmc_project/State/Boot/PostCode/meson.build
new file mode 100644
index 0000000..3d0d310
--- /dev/null
+++ b/gen/xyz/openbmc_project/State/Boot/PostCode/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/State/Boot/PostCode__cpp'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/State/Boot/PostCode.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.source_root(),
+ 'xyz/openbmc_project/State/Boot/PostCode',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/State/Boot/Progress/meson.build b/gen/xyz/openbmc_project/State/Boot/Progress/meson.build
new file mode 100644
index 0000000..8f9f2f9
--- /dev/null
+++ b/gen/xyz/openbmc_project/State/Boot/Progress/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/State/Boot/Progress__cpp'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/State/Boot/Progress.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.source_root(),
+ 'xyz/openbmc_project/State/Boot/Progress',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/State/Boot/Raw/meson.build b/gen/xyz/openbmc_project/State/Boot/Raw/meson.build
new file mode 100644
index 0000000..795da1a
--- /dev/null
+++ b/gen/xyz/openbmc_project/State/Boot/Raw/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/State/Boot/Raw__cpp'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/State/Boot/Raw.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.source_root(),
+ 'xyz/openbmc_project/State/Boot/Raw',
+ ],
+)
+
diff --git a/gen/xyz/openbmc_project/State/Boot/meson.build b/gen/xyz/openbmc_project/State/Boot/meson.build
new file mode 100644
index 0000000..d875949
--- /dev/null
+++ b/gen/xyz/openbmc_project/State/Boot/meson.build
@@ -0,0 +1,46 @@
+# Generated file; do not modify.
+subdir('PostCode')
+generated_others += custom_target(
+ 'xyz/openbmc_project/State/Boot/PostCode__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/State/Boot/PostCode.interface.yaml', ],
+ output: [ 'PostCode.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/State/Boot/PostCode',
+ ],
+ build_by_default: true,
+)
+
+subdir('Progress')
+generated_others += custom_target(
+ 'xyz/openbmc_project/State/Boot/Progress__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/State/Boot/Progress.interface.yaml', ],
+ output: [ 'Progress.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/State/Boot/Progress',
+ ],
+ build_by_default: true,
+)
+
+subdir('Raw')
+generated_others += custom_target(
+ 'xyz/openbmc_project/State/Boot/Raw__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/State/Boot/Raw.interface.yaml', ],
+ output: [ 'Raw.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/State/Boot/Raw',
+ ],
+ build_by_default: true,
+)
+