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.
17 lines
368 B
17 lines
368 B
1 year ago
|
project('gnome module without C', 'cpp')
|
||
|
|
||
|
gi = dependency('gobject-introspection-1.0', required: false)
|
||
|
if not gi.found()
|
||
|
error('MESON_SKIP_TEST gobject-introspection not found.')
|
||
|
endif
|
||
|
|
||
|
gnome = import('gnome')
|
||
|
|
||
|
lib = library('foo++', 'foo.cpp')
|
||
|
gnome.generate_gir(
|
||
|
lib,
|
||
|
sources: ['foo.cpp', 'foo.h'],
|
||
|
namespace: 'foo',
|
||
|
nsversion: meson.project_version(),
|
||
|
)
|