mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
38 lines
613 B
Meson
38 lines
613 B
Meson
project('libtess2', 'c',
|
|
version : '0.12.0',
|
|
default_options : [
|
|
'buildtype=release',
|
|
'optimization=3',
|
|
'default_library=static',
|
|
'prefer_static=true',
|
|
'b_ndebug=if-release',
|
|
'c_args=-pipe',
|
|
'cpp_args=-pipe',
|
|
]
|
|
)
|
|
|
|
inc = include_directories(
|
|
'Include',
|
|
'Source'
|
|
)
|
|
|
|
install_headers('Include/tesselator.h')
|
|
|
|
sources = files(
|
|
'Source/bucketalloc.c',
|
|
'Source/dict.c',
|
|
'Source/geom.c',
|
|
'Source/mesh.c',
|
|
'Source/priorityq.c',
|
|
'Source/sweep.c',
|
|
'Source/tess.c',
|
|
)
|
|
|
|
lib = library('tess2',
|
|
sources,
|
|
include_directories: inc,
|
|
install: true)
|
|
|
|
pkg = import('pkgconfig')
|
|
pkg.generate(lib)
|