meson.build
| 1 | project('cutils', 'c') |
| 2 | |
| 3 | WARNINGS = ['-Wall', '-Wpedantic', '-Wextra', '-Wnull-dereference', '-Wshadow', '-Wconversion', '-Wstrict-prototypes', '-Wmissing-prototypes', '-Wcast-qual', '-Wstrict-overflow=5', '-Wunreachable-code', '-Wno-unused-parameter'] |
| 4 | CFLAGS = ['-std=c89', '-fstrict-aliasing', '-fPIC'] + WARNINGS |
| 5 | |
| 6 | subdir('include') |
| 7 | subdir('src') |
| 8 |