xref: /openbmc/phosphor-bmc-code-mgmt/common/i2c/meson.build (revision 7e446a407a579ec72f48009008ad2f83c01c2262)
1*7e446a40SChristopher Meislibi2c_dev = static_library('i2c_dev', 'i2c.cpp', link_args: '-li2c')
2*7e446a40SChristopher Meislibi2c_inc = include_directories('.')
3*7e446a40SChristopher Meislibi2c_dep = declare_dependency(
4*7e446a40SChristopher Meis    common_include,
5*7e446a40SChristopher Meis    link_with: libi2c_dev,
6*7e446a40SChristopher Meis    include_directories: libi2c_inc,
7*7e446a40SChristopher Meis    link_args: '-li2c',
8*7e446a40SChristopher Meis)
9