xref: /openbmc/phosphor-power/tools/i2c/meson.build (revision 8b38b177315d40f1f9bc1e4d0784d45ea17cbd5c)
1libi2c_dev = static_library('i2c_dev', 'i2c.cpp', link_args: '-li2c')
2
3libi2c_inc = include_directories('.')
4libi2c_dep = declare_dependency(
5    link_with: libi2c_dev,
6    include_directories: libi2c_inc,
7    link_args: '-li2c',
8)
9
10if get_option('tests').allowed()
11    subdir('test')
12endif
13