blob: ea00f5df4e3c6e55d3024057eac0765b62a68461 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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')
|