Debian Codegraph @

src/meson.build

raw
1 connections_sources = [
2 'actions-popover.vala',
3 'assistant.vala',
4 'application.vala',
5 'connection.vala',
6 'collection-view.vala',
7 'collection-view-child.vala',
8 'database.vala',
9 'display-view.vala',
10 'main.vala',
11 'notifications.vala',
12 'dialogs.vala',
13 'onboarding-dialog.vala',
14 'onboarding-dialog-page.vala',
15 'preferences-widgets.vala',
16 'rdp-connection.vala',
17 'rdp-preferences-window.vala',
18 'topbar.vala',
19 'vnc-connection.vala',
20 'vnc-preferences-window.vala',
21 'window.vala',
22 ]
23
24 if spice_dep_found
25 add_project_arguments('-D', 'HAS_SPICE', language: 'vala')
26
27 connections_sources += [
28 'spice-connection.vala',
29 'spice-preferences-window.vala',
30 ]
31 endif
32
33 connections_sources += gnome.compile_resources('connections-resources',
34 'connections.gresource.xml',
35 c_name: 'connections'
36 )
37
38 c_args = [
39 '-DGETTEXT_PACKAGE="gnome-connections"',
40 '-w',
41 ]
42
43 vala_args = [
44 '--enable-experimental',
45 '--disable-since-check',
46 '--target-glib=2.50',
47 ]
48
49 executable('gnome-connections', connections_sources,
50 include_directories: config_h_dir,
51 vala_args: vala_args,
52 c_args: c_args,
53 dependencies: connections_deps,
54 install: true,
55 install_rpath: join_paths (get_option ('prefix'), get_option ('libdir'), meson.project_name ())
56 )