summaryrefslogtreecommitdiff
path: root/xml/meson.build
blob: 9cbc5a47bb77f3d5b0e30f00d71b0ca0f5f142a7 (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
generator = find_program('generate-introspection.py')

introspection_sources = [
  'Accessible.xml',
  'Action.xml',
  'Application.xml',
  'Cache.xml',
  'Collection.xml',
  'Component.xml',
  'DeviceEventController.xml',
  'DeviceEventListener.xml',
  'Document.xml',
  'EditableText.xml',
  'Event.xml',
  'Hyperlink.xml',
  'Hypertext.xml',
  'Image.xml',
  'Registry.xml',
  'Selection.xml',
  'Socket.xml',
  'Table.xml',
  'TableCell.xml',
  'Text.xml',
  'Value.xml',
]

introspection_generated = custom_target(
  'introspection_generated',
  input: introspection_sources,
  output: [ 'introspection.c', 'introspection.h' ],
  command: [ generator, '@INPUT@', '--c-output=@OUTPUT0@', '--h-output=@OUTPUT1@' ],
)