Commit 70f94ca4 authored by Lyude Paul's avatar Lyude Paul

meson: Create pkgconfig files to link against libraries

And now we can link against this from elsewhere!
parent 6239fc31
......@@ -17,10 +17,20 @@ if buildkind_opt.contains('bin')
endif
if buildkind_opt.contains('lib')
library(
spd_lib = library(
'spd-disasm',
lib_srcs,
include_directories: inc,
install: true,
)
pkg = import('pkgconfig')
pkg.generate(
description: 'Disassembly libraries and utilities for Midgard and Bifrost',
libraries: spd_lib,
name: 'ShaderProgramDisassembler',
subdirs: 'panfrost',
# TODO: url
version: '0.0',
)
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment