xref: /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Logging/SEL/meson.build (revision 7f154004885f4e98bd8d0aa6f66259c117b95a4c)
16be85da9SLei YU# Generated file; do not modify.
2*7f154004SPatrick Williams
3*7f154004SPatrick Williamssdbusplus_current_path = 'xyz/openbmc_project/Logging/SEL'
4*7f154004SPatrick Williams
56be85da9SLei YUgenerated_sources += custom_target(
66be85da9SLei YU    'xyz/openbmc_project/Logging/SEL__cpp'.underscorify(),
7*7f154004SPatrick Williams    input: [
8*7f154004SPatrick Williams        '../../../../../yaml/xyz/openbmc_project/Logging/SEL.errors.yaml',
9*7f154004SPatrick Williams    ],
10*7f154004SPatrick Williams    output: [
11*7f154004SPatrick Williams        'error.cpp',
12*7f154004SPatrick Williams        'error.hpp',
13*7f154004SPatrick Williams    ],
1411335246SPatrick Williams    depend_files: sdbusplusplus_depfiles,
156be85da9SLei YU    command: [
166be85da9SLei YU        sdbuspp_gen_meson_prog, '--command', 'cpp',
176be85da9SLei YU        '--output', meson.current_build_dir(),
186be85da9SLei YU        '--tool', sdbusplusplus_prog,
19b1b4d261SWilliam A. Kennington III        '--directory', meson.current_source_dir() / '../../../../../yaml',
206be85da9SLei YU        'xyz/openbmc_project/Logging/SEL',
216be85da9SLei YU    ],
22*7f154004SPatrick Williams    install: should_generate_cpp,
23*7f154004SPatrick Williams    install_dir: [
24*7f154004SPatrick Williams        false,
25*7f154004SPatrick Williams        get_option('includedir') / sdbusplus_current_path,
26*7f154004SPatrick Williams    ],
27*7f154004SPatrick Williams    build_by_default: should_generate_cpp,
286be85da9SLei YU)
296be85da9SLei YU
30