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/User/meson.build b/gen/xyz/openbmc_project/User/meson.build
new file mode 100644
index 0000000..0cae12b
--- /dev/null
+++ b/gen/xyz/openbmc_project/User/meson.build
@@ -0,0 +1,92 @@
+# Generated file; do not modify.
+subdir('AccountPolicy')
+generated_others += custom_target(
+ 'xyz/openbmc_project/User/AccountPolicy__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/User/AccountPolicy.interface.yaml', ],
+ output: [ 'AccountPolicy.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/User/AccountPolicy',
+ ],
+ build_by_default: true,
+)
+
+subdir('Attributes')
+generated_others += custom_target(
+ 'xyz/openbmc_project/User/Attributes__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/User/Attributes.interface.yaml', ],
+ output: [ 'Attributes.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/User/Attributes',
+ ],
+ build_by_default: true,
+)
+
+subdir('Common')
+generated_others += custom_target(
+ 'xyz/openbmc_project/User/Common__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/User/Common.errors.yaml', ],
+ output: [ 'Common.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/User/Common',
+ ],
+ build_by_default: true,
+)
+
+subdir('Ldap')
+subdir('Manager')
+generated_others += custom_target(
+ 'xyz/openbmc_project/User/Manager__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/User/Manager.interface.yaml', ],
+ output: [ 'Manager.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/User/Manager',
+ ],
+ build_by_default: true,
+)
+
+subdir('PrivilegeMapper')
+generated_others += custom_target(
+ 'xyz/openbmc_project/User/PrivilegeMapper__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/User/PrivilegeMapper.interface.yaml', ],
+ output: [ 'PrivilegeMapper.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/User/PrivilegeMapper',
+ ],
+ build_by_default: true,
+)
+
+subdir('PrivilegeMapperEntry')
+generated_others += custom_target(
+ 'xyz/openbmc_project/User/PrivilegeMapperEntry__markdown'.underscorify(),
+ input: [ meson.source_root() / 'xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml', ],
+ output: [ 'PrivilegeMapperEntry.md' ],
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'markdown',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.source_root(),
+ 'xyz/openbmc_project/User/PrivilegeMapperEntry',
+ ],
+ build_by_default: true,
+)
+