forked from external/yambar
meson: initial build conf
Not that well tested yet, does not support plugins-as-modules
This commit is contained in:
parent
a1be489293
commit
51e9d691e4
6 changed files with 218 additions and 0 deletions
15
particles/meson.build
Normal file
15
particles/meson.build
Normal file
|
@ -0,0 +1,15 @@
|
|||
particle_sdk = declare_dependency(dependencies: [cairo, cairo_ft])
|
||||
|
||||
particles = []
|
||||
foreach particle : ['empty', 'list', 'map', 'progress-bar', 'ramp', 'string']
|
||||
lib = static_library(
|
||||
'particle_@0@'.format(particle), '@0@.c'.format(particle),
|
||||
dependencies: particle_sdk)
|
||||
particles += [declare_dependency(
|
||||
link_with: lib,
|
||||
compile_args: '-DHAVE_PLUGIN_@0@'.format(particle.underscorify()))]
|
||||
endforeach
|
||||
|
||||
dynlist_lib = static_library(
|
||||
'dynlist', 'dynlist.c', 'dynlist.h', dependencies: particle_sdk)
|
||||
dynlist = declare_dependency(link_with: dynlist_lib)
|
Loading…
Add table
Add a link
Reference in a new issue