Brandon Kim | 0d13663 | 2022-07-14 00:06:09 +0000 | [diff] [blame] | 1 | project( |
| 2 | 'ipmiblob', |
| 3 | 'cpp', |
| 4 | version: '0.1', |
Patrick Williams | 58a690a | 2023-07-12 11:15:54 -0500 | [diff] [blame] | 5 | meson_version: '>=1.1.1', |
Brandon Kim | 0d13663 | 2022-07-14 00:06:09 +0000 | [diff] [blame] | 6 | default_options: [ |
Patrick Williams | 58a690a | 2023-07-12 11:15:54 -0500 | [diff] [blame] | 7 | 'cpp_std=c++23', |
Brandon Kim | 0d13663 | 2022-07-14 00:06:09 +0000 | [diff] [blame] | 8 | 'werror=true', |
| 9 | 'warning_level=3', |
| 10 | 'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'), |
| 11 | ]) |
| 12 | |
| 13 | subdir('src') |
| 14 | if not get_option('tests').disabled() |
| 15 | subdir('test') |
| 16 | endif |