# meson.build of the external library "whisper" # David Weenink, 18 April 2026 whisper_and_ggml_objects = ''' whisper.cpp diarize.cpp ggml.cpp ggml-type-traits.c ggml-memory-pool.cpp ggml-backend.cpp ggml-backend-dl.cpp ggml-backend-reg.cpp ggml-alloc.cpp ggml-threading.cpp ggml-quants.cpp'''.split() ggml_cpu_objects = ''' ggml-cpu.cpp ggml-cpu-cpp.cpp traits.cpp quants.c unary-ops.cpp binary-ops.cpp ops.cpp vec.cpp'''.split() model_objects = ''' model-ggml-segmentation.cpp model-ggml-embedding.cpp'''.split() sources = whisper_and_ggml_objects + ggml_cpu_objects + model_objects libwhisper = static_library ( 'whisper', sources : sources, include_directories : [melder_inc, fon_inc, sys_inc] ) libwhisper_dep = declare_dependency ( include_directories : include_directories('.'), link_with: libwhisper )