mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
meson: Generate pkgconfig file
Lets multiple projects use the same Tracy library.
This commit is contained in:
parent
170a07c46b
commit
7a2ce93998
@ -190,6 +190,9 @@ if tracy_shared_libs
|
||||
tracy_dep_compile_args += [ '-DTRACY_IMPORTS' ]
|
||||
endif
|
||||
|
||||
pkg = import('pkgconfig')
|
||||
pkg.generate(tracy, extra_cflags: tracy_dep_compile_args)
|
||||
|
||||
tracy_dep = declare_dependency(
|
||||
compile_args : tracy_dep_compile_args,
|
||||
link_with : tracy,
|
||||
|
Loading…
Reference in New Issue
Block a user