1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
project('lib', ['c'])
pkg = import('pkgconfig')
a = library('test-a', files('libA.c'), install: true)
install_headers(files('libA.h'), subdir: 'libA')
pkg.generate(
a,
version: '0.0',
description: 'test library libA',
filebase: 'test-a',
name: 'test library libA',
subdirs: 'libA')
b = static_library('test-b', files('libB.c'), install: true)
install_headers(files('libB.h'), subdir: 'libB')
pkg.generate(
b,
version: '0.0',
description: 'test library libB',
filebase: 'test-b',
name: 'test library libB',
subdirs: 'libB')
|