Jie Yang | b988dbb | 2021-08-06 18:34:49 -0700 | [diff] [blame] | 1 | project( |
| 2 | 'phosphor-ipmi-blobs-binarystore', |
| 3 | 'cpp', |
| 4 | version: '0.1', |
| 5 | meson_version: '>=0.57.0', |
| 6 | default_options: [ |
| 7 | 'cpp_std=c++20', |
| 8 | 'warning_level=3', |
| 9 | 'werror=true', |
| 10 | ] |
| 11 | ) |
| 12 | |
Jie Yang | b988dbb | 2021-08-06 18:34:49 -0700 | [diff] [blame] | 13 | cpp = meson.get_compiler('cpp') |
| 14 | cpp.has_header('boost/endian/arithmetic.hpp') |
| 15 | cpp.has_header('nlohmann/json.hpp') |
| 16 | protobuf_dep = dependency('protobuf') |
| 17 | ipmi_blob_dep = dependency('phosphor-ipmi-blobs') |
| 18 | phosphor_logging_dep = dependency('phosphor-logging') |
| 19 | |
| 20 | subdir('proto') |
Willy Tu | baa8d40 | 2021-12-07 19:44:31 -0800 | [diff] [blame^] | 21 | subdir('include') |
| 22 | subdir('src') |
Jie Yang | b988dbb | 2021-08-06 18:34:49 -0700 | [diff] [blame] | 23 | |
| 24 | if not get_option('tests').disabled() |
| 25 | subdir('test') |
| 26 | endif |