summaryrefslogtreecommitdiff
path: root/tests/plugins/has-dep/meson.build
blob: 9c158af4e3bae8010e8bc6f78593e889ac2669a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
libhas_dep_name = 'has-dep'

libhas_dep_public_h = [
  'has-dep-plugin.h',
]

libhas_dep_c = [
  'has-dep-plugin.c',
]

libhas_dep_plugin_data = [
  'has-dep.plugin',
]

libhas_dep_plugin_deps = [
  glib_dep,
  gobject_dep,
  gmodule_dep,
  libpeas_dep,
  libintrospection_dep,
]

libhas_dep_lib = shared_library(
  libhas_dep_name,
  libhas_dep_c,
  dependencies: libhas_dep_plugin_deps,
  install: false,
)

custom_target(
  'lib@0@-data'.format(libhas_dep_name),
  input: libhas_dep_plugin_data,
  output: libhas_dep_plugin_data,
  command: [copyfile_script, '@INPUT@', '@OUTDIR@'],
  build_by_default: true,
)