blob: 643b7ecf0d572c05e570526c56283b4f529b6286 [file] [log] [blame]
Jagpal Singh Gill61515662025-05-20 15:42:33 -07001project(
2 'phosphor-modbus',
3 'cpp',
4 default_options: ['warning_level=3', 'werror=true', 'cpp_std=c++23'],
5 license: 'Apache-2.0',
6 version: '0.1',
7 meson_version: '>=1.1.1',
8)
9
10phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces')
11phosphor_logging_dep = dependency('phosphor-logging')
12sdbusplus_dep = dependency('sdbusplus')
13
14default_deps = [
15 phosphor_dbus_interfaces_dep,
16 phosphor_logging_dep,
17 sdbusplus_dep,
18]
Jagpal Singh Gillfa4a7872025-05-20 16:18:06 -070019
Jagpal Singh Gillf69546b2025-10-16 09:38:16 -070020common_include = include_directories('.')
21
Jagpal Singh Gillfa4a7872025-05-20 16:18:06 -070022subdir('common')
23
24if get_option('modbus-rtu').allowed()
25 subdir('rtu')
26endif
Jagpal Singh Gill0fffb592025-05-20 23:45:25 -070027
28if get_option('tests').allowed()
29 subdir('tests')
30endif