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.
20 lines
466 B
20 lines
466 B
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']+ |
|
['-Wl,--no-whole-archive'] |
|
)
|
|
|