Skip to content
Permalink
Browse files

meson: Add/fix options to not-build samples and tests.

  • Loading branch information
tsieprawski authored and Snaipe committed Jan 7, 2020
1 parent 11e3917 commit 8a646839aa2cf1a002d3a02dd669936225072c97
Showing with 9 additions and 2 deletions.
  1. +8 −2 meson.build
  2. +1 −0 meson_options.txt
@@ -225,5 +225,11 @@ deps += [

subdir('include')
subdir('src')
subdir('samples')
subdir('test')

if get_option('samples')
subdir('samples')
endif

if get_option('tests')
subdir('test')
endif
@@ -1,5 +1,6 @@
option('tests', type: 'boolean', value: true)
option('dev', type: 'boolean', value: false)
option('samples', type: 'boolean', value: true)

option('cxx-support', type: 'feature', value: 'auto')
option('i18n', type: 'feature', value: 'auto')

0 comments on commit 8a64683

Please sign in to comment.
You can’t perform that action at this time.