summaryrefslogtreecommitdiffstats
path: root/src/xml/meson.build
blob: 4aa41e5969426ea1ec2e959a4c68ea9f7e8fac94 (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
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
xml_sources = files([
  'composite-node-observer.cpp',
  'croco-node-iface.cpp',
  'event.cpp',
  'log-builder.cpp',
  'node-fns.cpp',
  'quote.cpp',
  'repr.cpp',
  'repr-css.cpp',
  'repr-io.cpp',
  'repr-sorting.cpp',
  'repr-util.cpp',
  'simple-document.cpp',
  'simple-node.cpp',
  'subtree.cpp',
  'helper-observer.cpp',
  'rebase-hrefs.cpp'
])

xml_headers = files([
  'attribute-record.h',
  'comment-node.h',
  'composite-node-observer.h',
  'croco-node-iface.h',
  'document.h',
  'element-node.h',
  'event-fns.h',
  'event.h',
  'helper-observer.h',
  'invalid-operation-exception.h',
  'log-builder.h',
  'node-event-vector.h',
  'node-fns.h',
  'node-iterators.h',
  'node-observer.h',
  'node.h',
  'pi-node.h',
  'quote-test.h',
  'quote.h',
  'rebase-hrefs-test.h',
  'rebase-hrefs.h',
  'repr-action-test.h',
  'repr-sorting.h',
  'repr.h',
  'simple-document.h',
  'simple-node.h',
  'sp-css-attr.h',
  'subtree.h',
  'text-node.h'
])

xml_deps = [
  glib_dep,
  glibmm_dep,
  xml2_dep
]

lib_xml = static_library('xml',
  sources: [xml_sources,
            xml_headers],
  dependencies: xml_deps,
  include_directories: [srcinc, confinc])

libxml_dep = declare_dependency(link_with : lib_xml)