File: meson.build

package info (click to toggle)
libpeas2 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,808 kB
  • sloc: ansic: 8,018; cpp: 319; python: 178; javascript: 52; xml: 47; sh: 21; makefile: 17
file content (42 lines) | stat: -rw-r--r-- 904 bytes parent folder | download | duplicates (2)
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
37
38
39
40
41
42
libpeas_testing_name = 'libpeas-testing'
libpeas_testing_string = '@0@-@1@'.format(libpeas_testing_name, api_version)

libpeas_testing_public_h = [
  'testing.h',
  'testing-extension.h',
]

libpeas_testing_c = [
  'testing.c',
  'testing-extension.c',
]

libpeas_testing_deps = [
  glib_dep,
  introspection_dep,
  libpeas_dep,
  libtesting_util_dep,
  libintrospection_dep,
]

libpeas_testing_c_args = [
  '-DBUILDDIR="@0@"'.format(builddir),
  '-DSRCDIR="@0@"'.format(srcdir),
  '-UG_DISABLE_ASSERT',
  '-UG_DISABLE_CAST_CHEKCS',
]

libpeas_testing_lib = library(
  libpeas_testing_string,
  libpeas_testing_c,
  include_directories: rootdir,
  dependencies: libpeas_testing_deps,
  c_args: libpeas_testing_c_args,
  install: false,
)

libpeas_testing_dep = declare_dependency(
  link_with: libpeas_testing_lib,
  include_directories: include_directories('.'),
  dependencies: libpeas_testing_deps,
)