The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
574 B
24 lines
574 B
5 years ago
|
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')
|