forked from OctaForge/libostd
meson: pkg-config file generation
This commit is contained in:
parent
54ee8ea9e5
commit
27ce727eef
11
meson.build
11
meson.build
|
@ -31,3 +31,14 @@ endif
|
|||
if get_option('build-examples')
|
||||
subdir('examples')
|
||||
endif
|
||||
|
||||
pkg = import('pkgconfig')
|
||||
|
||||
pkg.generate(
|
||||
libraries: libostd_lib,
|
||||
version: meson.project_version(),
|
||||
name: 'libostd',
|
||||
filebase: 'libostd',
|
||||
url: 'https://git.octaforge.org/octaforge/libostd',
|
||||
description: 'OctaForge C++ utility library'
|
||||
)
|
||||
|
|
|
@ -80,4 +80,4 @@ libostd = declare_dependency(
|
|||
link_with: libostd_lib.get_shared_lib()
|
||||
)
|
||||
|
||||
install_headers(libostd_header_src, install_dir: dir_package_include)
|
||||
install_headers(libostd_header_src, install_dir: dir_package_include)
|
||||
|
|
Loading…
Reference in a new issue