Skip to content

Commit

Permalink
meson: Generate pkgconfig file
Browse files Browse the repository at this point in the history
Lets multiple projects use the same Tracy library.
  • Loading branch information
YaLTeR committed Oct 19, 2023
1 parent 170a07c commit 7a2ce93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a2ce93

Please sign in to comment.