| Jagpal Singh Gill | 9695bd2 | 2025-10-01 14:38:17 -0700 | [diff] [blame] | 1 | modbus_rtu_lib = static_library( |
| 2 | 'modbus_rtu_lib', |
| Jagpal Singh Gill | a32d241 | 2025-10-01 14:55:05 -0700 | [diff] [blame] | 3 | [ |
| 4 | 'modbus/modbus.cpp', |
| 5 | 'modbus/modbus_commands.cpp', |
| 6 | 'modbus/modbus_message.cpp', |
| 7 | ], |
| Jagpal Singh Gill | 9695bd2 | 2025-10-01 14:38:17 -0700 | [diff] [blame] | 8 | include_directories: ['.'], |
| 9 | dependencies: [default_deps], |
| 10 | ) |
| Jagpal Singh Gill | fa4a787 | 2025-05-20 16:18:06 -0700 | [diff] [blame] | 11 | |
| Jagpal Singh Gill | 7f9d41d | 2025-10-16 09:42:18 -0700 | [diff] [blame^] | 12 | modbus_rtu_port_lib = static_library( |
| 13 | 'modbus_rtu_port_lib', |
| 14 | ['port/base_port.cpp', 'port/port_factory.cpp', 'port/usb_port.cpp'], |
| 15 | include_directories: ['.', common_include], |
| 16 | link_with: [modbus_rtu_lib, modbus_common_lib], |
| 17 | dependencies: [default_deps], |
| 18 | ) |
| 19 | |
| Jagpal Singh Gill | 9695bd2 | 2025-10-01 14:38:17 -0700 | [diff] [blame] | 20 | modbus_rtu_dep = declare_dependency( |
| 21 | include_directories: ['.'], |
| Jagpal Singh Gill | 7f9d41d | 2025-10-16 09:42:18 -0700 | [diff] [blame^] | 22 | link_with: [modbus_rtu_lib, modbus_rtu_port_lib], |
| Jagpal Singh Gill | 9695bd2 | 2025-10-01 14:38:17 -0700 | [diff] [blame] | 23 | dependencies: [default_deps], |
| 24 | ) |