project('ani', 'c')
srcs = [
'ani.c',
'init.c',
'change.c',
'vendor/zstdseek/zstdseek_compress.c',
'vendor/zstdseek/zstdseek_decompress.c',
'vendor/blake3/blake3.c',
'vendor/blake3/blake3_dispatch.c',
'vendor/blake3/blake3_portable.c',
'base32.c',
'bincode.c',
'scaffold.c',
'hash.c',
'hunk.c'
]
deps = [dependency('libzstd'), dependency('libxxhash')]
asm = [
'vendor/blake3/blake3_avx2_x86-64_unix.S',
'vendor/blake3/blake3_avx512_x86-64_unix.S',
'vendor/blake3/blake3_sse2_x86-64_unix.S',
'vendor/blake3/blake3_sse41_x86-64_unix.S'
]
executable('ani', sources : srcs, dependencies : deps, objects : asm)