summaryrefslogtreecommitdiffstats
path: root/test cases/unit/32 pkgconfig use libraries/lib/meson.build
blob: e9918cee46a85624a0b953f45aa7f350835ba4a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
project('lib', ['c'])

a = library('test-a', 'liba.c', install: true)

b = library('test-b', 'libb.c', link_with: a, install: true)

import('pkgconfig').generate(
    version: '0.0',
    description: 'test library',
    filebase: 'test-b',
    name: 'test library',
    libraries: [b],
    subdirs: ['.']
)