blob: 76261b394a7f322825072369f9108b09c11e3ac3 [file] [log] [blame]
Lei YUab1327c2019-11-04 16:53:39 +08001libi2c_dev = static_library(
2 'i2c_dev',
3 'i2c.cpp',
4 link_args : '-li2c',
5)
Lei YU9af82a52019-11-06 14:51:22 +08006
7libi2c_inc = include_directories('.')
Lei YU92e89eb2019-11-06 18:08:25 +08008libi2c_dep = declare_dependency(
9 link_with: libi2c_dev,
10 include_directories : libi2c_inc,
11 link_args : '-li2c')
Shawn McCarneyb1216b92020-01-21 15:22:32 -060012
Shawn McCarneyff481432020-02-13 10:38:44 -060013if get_option('tests').enabled()
14 subdir('test')
15endif