Skip to content

Commit

Permalink
Added an option for range-v3 to build tests
Browse files Browse the repository at this point in the history
Added `tests` build option and set it off by default.
  • Loading branch information
adembudak committed May 27, 2024
1 parent 959532a commit 585929d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion subprojects/packagefiles/range-v3/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ range_dep = declare_dependency(
include_directories : range_inc
)

subdir('test')
if get_option('tests')
subdir('test')
endif
1 change: 1 addition & 0 deletions subprojects/packagefiles/range-v3/meson_options.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
option('tests', type : 'boolean', value : false, description : 'build tests')

0 comments on commit 585929d

Please sign in to comment.