blob: eb2607d8c561c54f4e89da3b53840c3f331f3615 [file] [log] [blame]
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/',
)