fuzz/meson.build
raw| 1 | fuzzer_c_args = [] |
| 2 | fuzzer_link_arg = get_option('fuzz-link-arg') |
| 3 | fuzzer_link_args = [fuzzer_link_arg] |
| 4 | |
| 5 | if get_option('enable-utf8') |
| 6 | fuzzer_c_args += '-DBSTRING_ENABLE_UTF8' |
| 7 | endif |
| 8 | |
| 9 | executable( |
| 10 | 'fuzz_bstring', |
| 11 | 'fuzz_bstring.c', |
| 12 | link_with: libbstring, |
| 13 | include_directories: bstring_inc, |
| 14 | c_args: fuzzer_c_args, |
| 15 | link_args: fuzzer_link_args, |
| 16 | ) |