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 9156bb4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -2801,6 +2801,7 @@
"range-v3"
],
"versions": [
"0.12.0-3",
"0.12.0-2",
"0.12.0-1",
"0.11.0-1",
Expand Down
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 9156bb4

Please sign in to comment.