Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,9 @@ subdir('libnvme')
if get_option('tests')
subdir('test')
endif
subdir('examples')
if get_option('examples')
subdir('examples')
endif
subdir('doc')

################################################################################
Expand Down
1 change: 1 addition & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ option('rstdir', type : 'string', value : '', description : 'directory for ReST

option('docs', type : 'combo', choices : ['false', 'html', 'man', 'rst', 'all'], description : 'install documentation')
option('docs-build', type : 'boolean', value : false, description : 'build documentation')
option('examples', type : 'boolean', value : true, description : 'build examples')
option('tests', type : 'boolean', value : true, description : 'build tests')

option('python', type : 'feature', value: 'auto', description : 'Generate libnvme python bindings')
Expand Down