Adding pkgconfig.
This commit is contained in:
parent
038ea02eb5
commit
854ba7fae4
|
@ -1,4 +1,5 @@
|
||||||
project('me.sergiotarxz.owlpath', 'vala')
|
project('me.sergiotarxz.owlpath', 'vala')
|
||||||
|
pkg = import('pkgconfig')
|
||||||
|
|
||||||
compiler = meson.get_compiler('c')
|
compiler = meson.get_compiler('c')
|
||||||
vapidir = meson.project_source_root() / 'vapi'
|
vapidir = meson.project_source_root() / 'vapi'
|
||||||
|
@ -33,9 +34,11 @@ owlpath_lib = library('owlpath',
|
||||||
install : true,
|
install : true,
|
||||||
install_dir: [true, true, true],
|
install_dir: [true, true, true],
|
||||||
)
|
)
|
||||||
|
pkg.generate(owlpath_lib)
|
||||||
|
|
||||||
executable('owlpath-test',
|
owlpath_test = executable('owlpath-test',
|
||||||
['test/00-owlpath.test.vala'],
|
['test/00-owlpath.test.vala'],
|
||||||
dependencies : owlpath_deps,
|
dependencies : owlpath_deps,
|
||||||
link_with: [owlpath_lib]
|
link_with: [owlpath_lib]
|
||||||
)
|
)
|
||||||
|
test ('owlpath', owlpath_test )
|
||||||
|
|
Loading…
Reference in New Issue