meson: pkg-config file generation

This commit is contained in:
q66 2018-10-28 01:41:45 +02:00
parent 54ee8ea9e5
commit 27ce727eef
2 changed files with 12 additions and 1 deletions

View file

@ -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'
)

View file

@ -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)