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
|
if host_machine.system() == 'windows'
universal_cp_win_resources = win.compile_resources('av-cp.rc')
else
universal_cp_win_resources = []
endif
universal_cp_resource = gnome.compile_resources('universal-cp-resource',
join_paths(resource_data, 'org.gupnp.Tools.Universal-CP.gresource.xml'),
source_dir : resource_data)
executable('gupnp-universal-cp',
[
'action-dialog.c',
'action-dialog.h',
'details-treeview.c',
'details-treeview.h',
'device-treeview.c',
'device-treeview.h',
'event-treeview.c',
'event-treeview.h',
'gui.c',
'gui.h',
'main.c',
'main.h'
] + universal_cp_resource + universal_cp_win_resources,
export_dynamic: true,
install : true,
gui_app : true,
dependencies : [util, glib, gupnp, gtk, gssdp, config_header])
|