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
502 B
19 lines
502 B
5 years ago
|
project('pkgformat', 'c',
|
||
|
version : '1.0')
|
||
|
|
||
|
gio = dependency('gio-2.0', required: false)
|
||
|
if not gio.found()
|
||
|
error('MESON_SKIP_TEST glib not found.')
|
||
|
endif
|
||
|
|
||
|
pkgg = import('pkgconfig')
|
||
|
|
||
|
s = static_library('returner', 'someret.c')
|
||
|
l = library('something', 'somelib.c', link_whole: s)
|
||
|
|
||
|
pkgg.generate(libraries: l,
|
||
|
version: '1.0',
|
||
|
name: 'libsomething',
|
||
|
description: 'A library that does something',
|
||
|
requires: 'gobject-2.0 >= 2.0, gio-2.0 >= 2.0')
|