ref: f9bb63633ce47c39a98d929a98b8392c98b07e87
dir: /meson.build/
project( 'fnt', 'c', version: '0.1', default_options: [ 'c_std=c2x', 'warning_level=3', 'buildtype=debugoptimized', ], ) add_project_arguments( '-Werror=strict-aliasing', '-Wno-pedantic', '-Wno-parentheses', '-Wno-incompatible-pointer-types', '-Wno-sign-compare', '-Wno-unknown-pragmas', '-D_DEFAULT_SOURCE', language: 'c', ) src = [ 'otf.c', 'rast.c', 'unix.c', 'test_unix.c', ] cc = meson.get_compiler('c') math = cc.find_library('m', required: false) executable( 'fntest', sources: [src], include_directories: include_directories( 'unix', ), dependencies: [math], )