abrasion/third_party/cargo/vendor/ttf-parser-0.6.2/meson.build

13 lines
342 B
Meson

project('ttf-parser', 'rust')
add_project_arguments(['--edition=2018'], language: 'rust')
ttf_parser = static_library('ttf_parser_capi', 'c-api/lib.rs', rust_crate_type: 'staticlib',
link_with: static_library('ttf_parser', 'src/lib.rs'),
)
ttf_parser_dep = declare_dependency(
link_with: ttf_parser,
include_directories: 'c-api/',
)