ref: 05750074ef073d38c25544958c42891c03dd99a7
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],
)