summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/examples/meson.build
blob: 883607e99a6c81c95a7249b36b71a42c18df583e (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
if get_option('examples')

handy_demo_resources = gnome.compile_resources(
   'handy-demo-resources',
   'handy-demo.gresources.xml',

   c_name: 'hdy',
)

handy_demo_sources = [
  handy_demo_resources,
  'handy-demo.c',
  'hdy-demo-preferences-window.c',
  'hdy-demo-window.c',
  'hdy-view-switcher-demo-window.c',
  libhandy_generated_headers,
]

handy_demo = executable('handy-@0@-demo'.format(apiversion),
  handy_demo_sources,
  dependencies: libhandy_dep,
  gui_app: true,
  install: true,
)

endif