Add the cable interface
The cable interface is used to represent a cable instance in ipmi
inventory
Design Doc:
https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/45395
Signed-off-by: Chu Lin <linchuyuan@google.com>
Fixed minor whitespace issue and added meson.build.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: Ia917288efd343dd77cdb57ee0c863ec4dfac096e
diff --git a/gen/xyz/openbmc_project/Inventory/Item/Cable/meson.build b/gen/xyz/openbmc_project/Inventory/Item/Cable/meson.build
new file mode 100644
index 0000000..3b83494
--- /dev/null
+++ b/gen/xyz/openbmc_project/Inventory/Item/Cable/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Inventory/Item/Cable__cpp'.underscorify(),
+ input: [ '../../../../../../yaml/xyz/openbmc_project/Inventory/Item/Cable.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.current_source_dir() / '../../../../../../yaml',
+ 'xyz/openbmc_project/Inventory/Item/Cable',
+ ],
+)
+