summaryrefslogtreecommitdiff
path: root/utils/meson.build
blob: ac73b5ba798a5757a0089aeaff22a0fc6b9e9c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
common_deps = [ libkmsxx_dep, libkmsxxutil_dep, libfmt_dep ]

libevdev_dep = dependency('libevdev', required : false)

executable('kmstest', 'kmstest.cpp', dependencies : [ common_deps ], install : true)
executable('kmsview', 'kmsview.cpp', dependencies : [ common_deps ], install : false)
executable('kmsprint', 'kmsprint.cpp', dependencies : [ common_deps ], install : true)
executable('fbtest', 'fbtest.cpp', dependencies : [ common_deps ], install : true)
executable('kmscapture', 'kmscapture.cpp', dependencies : [ common_deps ], install : false)
executable('kmsblank', 'kmsblank.cpp', dependencies : [ common_deps ], install : true)

if libevdev_dep.found()
    executable('kmstouch', 'kmstouch.cpp', dependencies : [ common_deps, libevdev_dep ], install : false)
endif

if get_option('v4l2').enabled()
    executable('omap-wbcap', 'omap-wbcap.cpp', dependencies : [ common_deps, libv4l2xx_dep ], install : false)
    executable('omap-wbm2m', 'omap-wbm2m.cpp', dependencies : [ common_deps, libv4l2xx_dep ], install : false)
endif