meson: add option to enable/disable the test suite

macos/v1.5.9
Ross Burton 6 years ago
parent 6c6fcd3b12
commit a35192b07c
  1. 5
      meson.build
  2. 4
      meson_options.txt

@ -242,7 +242,10 @@ libepoxy_inc = [
subdir('include/epoxy')
subdir('src')
subdir('test')
if get_option('tests')
subdir('test')
endif
if get_option('docs')
doxygen = find_program('doxygen', required: false)

@ -15,3 +15,7 @@ option('x11',
type: 'boolean',
value: true,
description: 'Enable X11 support (GLX or EGL-X11)')
option('tests',
type: 'boolean',
value: true,
description: 'Build the test suite')

Loading…
Cancel
Save