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.
 
 
 
 
 
 

19 lines
482 B

project('pkgconfig-gen', 'c')
pkgg = import('pkgconfig')
lib = shared_library('simple', 'simple.c', install : true)
libver = '1.0'
h = install_headers('simple.h')
pkgg.generate(
libraries : lib,
subdirs : '.',
version : libver,
name : 'libsimple',
filebase : 'simple',
description : 'A simple demo library.',
requires : 'glib-2.0', # Not really, but only here to test that this works.
requires_private : ['gio-2.0', 'gobject-2.0'],
libraries_private : '-lz',
)