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.
21 lines
466 B
21 lines
466 B
3 years ago
|
project('libtestprovider','c')
|
||
|
|
||
|
libtestprovider=static_library('testprovider',
|
||
|
files('./provider.c'),
|
||
|
install:true,
|
||
|
c_args:['-Wall','-Werror'],
|
||
|
)
|
||
|
|
||
|
pkg = import('pkgconfig')
|
||
|
|
||
|
|
||
|
pkg.generate(
|
||
|
name:'testprovider',
|
||
|
filebase:'libtestprovider',
|
||
|
description: 'fortest',
|
||
|
requires: [],
|
||
|
libraries_private: ['-Wl,--whole-archive'] +
|
||
|
['-L${libdir}','-l:libtestprovider.a']+
|
||
4 years ago
|
['-Wl,--no-whole-archive']
|
||
3 years ago
|
)
|