File: meson.build

package info (click to toggle)
msitools 0.101%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 4,800 kB
  • sloc: ansic: 17,990; yacc: 862; sh: 416; perl: 201; makefile: 10
file content (67 lines) | stat: -rw-r--r-- 1,468 bytes parent folder | download
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
libcommon = static_library('common',
  'util.vala',
  vala_header: 'libcommon.h',
  vala_vapi: 'common.vapi',
  vala_args: [
    '--enable-experimental',
    '--pkg', 'gio-2.0',
    '--pkg', 'posix',
    '--library', 'common',
    '--vapidir=@0@'.format(meson.source_root() / 'vapi'),
    '--vapidir=@0@'.format(meson.current_source_dir()),
  ],
  dependencies: glib,
)

wixl = executable('wixl',
  'builder.vala',
  'msi-default.vala',
  'msi.vala',
  'preprocessor.vala',
  'wix.vala',
  'wixl.vala',
  config_h,
  vala_args: [
    '-H', 'wixl.h',
    '--use-header',
    '--enable-experimental',
    '--pkg', 'config',
    '--pkg', 'posix',
    '--vapidir=@0@'.format(meson.source_root()),
    '--vapidir=@0@'.format(meson.build_root() / 'libmsi'),
  ],
  c_args: ['-include', meson.build_root() / 'config.h'],
  include_directories: inc_dirs,
  link_with: libcommon,
  dependencies: [
    libmsi,
    libmsi_vapi,
    glib,
    libgcab,
    libxml,
  ],
  install: true,
)

wixl_heat = executable('wixl-heat',
  'wixl-heat.vala',
  config_h,
  vala_args: [
    '--enable-experimental',
    '--pkg', 'config',
    '--pkg', 'posix',
    '--vapidir=@0@'.format(meson.source_root()),
    '--vapidir=@0@'.format(meson.build_root() / 'libmsi'),
  ],
  c_args: ['-include', meson.build_root() / 'config.h'],
  include_directories: inc_dirs,
  link_with: libcommon,
  dependencies: [
    libmsi,
    libmsi_vapi,
    glib,
    libgcab,
    libxml,
  ],
  install: true,
)