libvips/libvips/arithmetic/meson.build
Kleis Auke Wolthuizen 07edfe37b1
Improve symbol visibility (#2688)
* Improve symbol visibility

* Decorate required internal symbols with VIPS_API

* Remove a couple of stray header decls

* Incorporate review comment

- Ensure symbol visibility is also set on static libraries.
- Prefer to use `cc.has_function_attribute('visibility:hidden')`.

* Don't export internal deprecated symbols

* Move deprecated symbols to vips7compat.h

* `IM_FORMAT_H` -> `VIPS_FORMAT_H`

* Move `vips_window_ref` compat stub to `vips7compat.c`

* Disable deprecation warnings internally

* `vips_image_get_kill` -> `vips_image_iskilled`

* Ensure API compatibility

* Add missing include directives

* Move `vips__init` decl to vips7compat

* Move `vips__get_sizeof_vipsobject` to vips7compat

* Fix introspection build

* Fix 2 introspection warnings

* Ensure compatibility with vipsdisp

/usr/bin/ld: tilesource.o: in function `tile_source_new_from_source':
vipsdisp/tilesource.c:1627: undefined reference to `vips__region_no_ownership'
2022-04-16 10:58:55 +01:00

62 lines
1.0 KiB
Meson

arithmetic_sources = files(
'find_trim.c',
'sum.c',
'hough.c',
'hough_line.c',
'hough_circle.c',
'abs.c',
'complex.c',
'deviate.c',
'divide.c',
'measure.c',
'getpoint.c',
'multiply.c',
'remainder.c',
'sign.c',
'statistic.c',
'stats.c',
'avg.c',
'min.c',
'max.c',
'hist_find.c',
'hist_find_ndim.c',
'hist_find_indexed.c',
'project.c',
'profile.c',
'subtract.c',
'math.c',
'arithmetic.c',
'binary.c',
'unary.c',
'nary.c',
'unaryconst.c',
'relational.c',
'boolean.c',
'add.c',
'linear.c',
'invert.c',
'math2.c',
'round.c',
)
arithmetic_headers = files(
'hough.h',
'statistic.h',
'parithmetic.h',
'binary.h',
'unary.h',
'nary.h',
'unaryconst.h'
)
libvips_sources += arithmetic_sources
arithmetic_lib = static_library('arithmetic',
arithmetic_sources,
arithmetic_headers,
dependencies: libvips_deps,
gnu_symbol_visibility: 'hidden',
)
libvips_components += arithmetic_lib