summaryrefslogtreecommitdiffstats
path: root/bin/gui/meson.build
blob: f9cf2387735881fe08ea846d50c8d8924110d975 (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
cc = meson.get_compiler('c')

libm = cc.find_library('m')
gtk_dep = dependency('gtk+-2.0')
gthread_dep = dependency('gthread-2.0')

gnome = import('gnome')

resources = gnome.compile_resources(
    'resources', 'uca-camera-control.gresource.xml',
    source_dir: '.',
    c_name: 'foo'
)

sources = [
    'uca-camera-control.c',
    'egg-histogram-view.c',
    'egg-property-cell-renderer.c',
    'egg-property-tree-view.c',
    resources
]

executable('uca-camera-control', 
    sources: sources,
    include_directories: include_dir,
    dependencies: [libm, gtk_dep, gthread_dep],
    link_with: lib,
    install: true,
)