File: meson.build

package info (click to toggle)
sysprof 3.30.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,616 kB
  • sloc: ansic: 20,056; xml: 96; cpp: 23; sh: 18; makefile: 9
file content (27 lines) | stat: -rw-r--r-- 638 bytes parent folder | download
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
if get_option('enable_gtk')

sysprof_sources = [
  'sysprof.c',
  'sp-application.c',
  'sp-application.h',
  'sp-credits.h',
  'sp-window.c',
  'sp-window.h',
  'sp-window-settings.c',
  'sp-window-settings.h',
]

sysprof_resources = gnome.compile_resources('sp-resources', 'resources/sysprof.gresource.xml',
  source_dir: 'resources',
      c_name: 'sysprof',
)

sysprof = executable('sysprof', sysprof_resources + sysprof_sources,
       gui_app: true,
       install: true,
        c_args: release_flags + exe_c_args,
  dependencies: [libsysprof_ui_dep, cc.find_library('m', required: false)],
     link_args: exe_link_args,
)

endif