summaryrefslogtreecommitdiff
path: root/tests/plugins/builtin/meson.build
blob: 1603c30a344450e6b7c466ab954bb1742f29ad7f (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
libbuiltin_name = 'builtin'

libbuiltin_public_h = [
  'builtin-plugin.h',
]

libbuiltin_c = [
  'builtin-plugin.c',
]

libbuiltin_plugin_data = [
  'builtin.plugin',
]

libbuiltin_plugin_deps = [
  glib_dep,
  gobject_dep,
  libpeas_dep,
]

libbuiltin_lib = shared_library(
  libbuiltin_name,
  libbuiltin_c,
  dependencies: libbuiltin_plugin_deps,
  install: false,
)

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