blob: 71a5aabb829d160f2da0a92bd0f20d0a3d9880cb [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')