William A. Kennington III | 0b3c389 | 2021-04-20 16:00:55 -0700 | [diff] [blame] | 1 | project( |
| 2 | 'phosphor-watchdog', |
| 3 | 'cpp', |
| 4 | version: '0.1', |
William A. Kennington III | 0d7e3d7 | 2021-04-20 16:22:14 -0700 | [diff] [blame] | 5 | meson_version: '>=0.57.0', |
William A. Kennington III | 0b3c389 | 2021-04-20 16:00:55 -0700 | [diff] [blame] | 6 | default_options: [ |
| 7 | 'warning_level=3', |
William A. Kennington III | 0d7e3d7 | 2021-04-20 16:22:14 -0700 | [diff] [blame] | 8 | 'cpp_std=c++20', |
William A. Kennington III | 0b3c389 | 2021-04-20 16:00:55 -0700 | [diff] [blame] | 9 | ]) |
William A. Kennington III | b933771 | 2019-01-15 18:27:13 -0800 | [diff] [blame] | 10 | |
Patrick Williams | 90b4009 | 2022-03-21 11:50:22 -0500 | [diff] [blame^] | 11 | cpp = meson.get_compiler('cpp') |
| 12 | |
William A. Kennington III | 4250639 | 2021-04-22 15:19:54 -0700 | [diff] [blame] | 13 | subdir('src') |
William A. Kennington III | b933771 | 2019-01-15 18:27:13 -0800 | [diff] [blame] | 14 | |
William A. Kennington III | 0b3c389 | 2021-04-20 16:00:55 -0700 | [diff] [blame] | 15 | if not get_option('tests').disabled() |
William A. Kennington III | b933771 | 2019-01-15 18:27:13 -0800 | [diff] [blame] | 16 | subdir('test') |
| 17 | endif |