examples: Disable existing examples
These examples will stop working with the following API changes. Updated examples may be re-enabled again later.
This commit is contained in:
parent
7fed33fb49
commit
059fc5ef7d
3 changed files with 23 additions and 27 deletions
|
@ -10,20 +10,20 @@ foreach example: examples
|
||||||
c_args: common_cflags)
|
c_args: common_cflags)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
executable('cpp-test',
|
# executable('cpp-test',
|
||||||
'cpp-test.cpp',
|
# 'cpp-test.cpp',
|
||||||
dependencies: libfprint_dep,
|
# dependencies: libfprint_dep,
|
||||||
include_directories: [
|
# include_directories: [
|
||||||
root_inc,
|
# root_inc,
|
||||||
],
|
# ],
|
||||||
c_args: common_cflags)
|
# c_args: common_cflags)
|
||||||
|
|
||||||
if get_option('x11-examples')
|
# if get_option('x11-examples')
|
||||||
executable('img_capture_continuous',
|
# executable('img_capture_continuous',
|
||||||
'img_capture_continuous.c',
|
# 'img_capture_continuous.c',
|
||||||
dependencies: [ libfprint_dep, xv_dep, x11_dep ],
|
# dependencies: [ libfprint_dep, xv_dep, x11_dep ],
|
||||||
include_directories: [
|
# include_directories: [
|
||||||
root_inc,
|
# root_inc,
|
||||||
],
|
# ],
|
||||||
c_args: common_cflags)
|
# c_args: common_cflags)
|
||||||
endif
|
# endif
|
||||||
|
|
14
meson.build
14
meson.build
|
@ -112,13 +112,13 @@ if get_option('udev_rules')
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('x11-examples')
|
# if get_option('x11-examples')
|
||||||
x11_dep = cc.find_library('X11')
|
# x11_dep = cc.find_library('X11')
|
||||||
xv_dep = dependency('xv', required: false)
|
# xv_dep = dependency('xv', required: false)
|
||||||
if not xv_dep.found()
|
# if not xv_dep.found()
|
||||||
error('XV is required for X11 examples')
|
# error('XV is required for X11 examples')
|
||||||
endif
|
# endif
|
||||||
endif
|
# endif
|
||||||
|
|
||||||
if get_option('gtk-examples')
|
if get_option('gtk-examples')
|
||||||
gnome = import('gnome')
|
gnome = import('gnome')
|
||||||
|
|
|
@ -10,10 +10,6 @@ option('udev_rules_dir',
|
||||||
description: 'Installation path for udev rules',
|
description: 'Installation path for udev rules',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
value: 'auto')
|
value: 'auto')
|
||||||
option('x11-examples',
|
|
||||||
description: 'Whether to build X11 example applications',
|
|
||||||
type: 'boolean',
|
|
||||||
value: true)
|
|
||||||
option('gtk-examples',
|
option('gtk-examples',
|
||||||
description: 'Whether to build GTK+ example applications',
|
description: 'Whether to build GTK+ example applications',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
|
|
Loading…
Reference in a new issue