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
618 B
24 lines
618 B
project('pkgconfig dep', 'c', |
|
version : '1.0.0') |
|
|
|
# This is not used in the code, only to check that it does not |
|
# leak out to --libs. |
|
glib_dep = dependency('glib-2.0') |
|
|
|
pkgconfig = import('pkgconfig') |
|
|
|
intlib = static_library('libpkgdep-int', 'privatelib.c') |
|
intdep = declare_dependency(link_with : intlib) |
|
|
|
lib = shared_library('pkgdep', 'pkgdep.c', |
|
dependencies : [glib_dep, intdep], |
|
install : true) |
|
|
|
install_headers('pkgdep.h') |
|
|
|
pkgconfig.generate( |
|
filebase : 'libpkgdep', |
|
name : 'Libpkgdep', |
|
description : 'Sample pkgconfig dependency library', |
|
version : meson.project_version(), |
|
libraries : lib)
|
|
|