blob: cbc46df4720bb09dd064ec4bda19bccebf542291 [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
20subdir('common')
21
22if get_option('modbus-rtu').allowed()
23 subdir('rtu')
24endif
Jagpal Singh Gill0fffb592025-05-20 23:45:25 -070025
26if get_option('tests').allowed()
27 subdir('tests')
28endif