feat(meson): add library to pkgconf
This commit is contained in:
+9
-1
@@ -31,6 +31,8 @@ endif
|
||||
|
||||
# Static library
|
||||
|
||||
pkg = import('pkgconfig')
|
||||
|
||||
myclib_lib = static_library(
|
||||
'myclib',
|
||||
lib_src,
|
||||
@@ -38,6 +40,12 @@ myclib_lib = static_library(
|
||||
install: true,
|
||||
)
|
||||
|
||||
pkg.generate(
|
||||
myclib_lib,
|
||||
name: 'myclib',
|
||||
description: 'My personal C std library.',
|
||||
)
|
||||
|
||||
# Install headers
|
||||
|
||||
install_headers(
|
||||
@@ -77,4 +85,4 @@ foreach tc : test_cases
|
||||
)
|
||||
|
||||
test(test_name, test_exe)
|
||||
endforeach
|
||||
endforeach
|
||||
|
||||
Reference in New Issue
Block a user