about summary refs log tree commit diff
path: root/src/c-siphash/meson.build
blob: ffcb6a76aebbe3d878b77def57b936264ff86424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
project(
        'c-siphash',
        'c',
        default_options: [
                'c_std=c11'
        ],
        license: 'Apache',
        meson_version: '>=0.60.0',
        version: '1.0.0',
)
major = meson.project_version().split('.')[0]
project_description = 'Streaming-capable SipHash Implementation'

mod_pkgconfig = import('pkgconfig')

dep_cstdaux = dependency('libcstdaux-1')
add_project_arguments(dep_cstdaux.get_variable('cflags').split(' '), language: 'c')

subdir('src')

meson.override_dependency('libcsiphash-'+major, libcsiphash_dep, static: true)