subdir('osc') # The SONAME carries the major version. An ABI break bumps it, so an old # binary keeps the old library. term_soversion = meson.project_version().split('.')[0] # The x86-64 SIMD kernels pick their level at run time (see simd.h), so the # library needs no ISA flags. -march in c_args sets the lowest level. term_lib = both_libraries('term', 'core.c', 'escape.c', 'fastcsi.c', 'gstore.c', 'hist.c', 'hist_view.c', 'input.c', 'isa.c', 'palette.c', 'scan.c', 'screen.c', 'selection.c', 'snapshot.c', 'term.c', 'text.c', 'text_run.c', term_osc_src, include_directories: term_private_inc, dependencies: [m_dep], gnu_symbol_visibility: 'hidden', version: meson.project_version(), soversion: term_soversion, install: true )