mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-21 21:06:11 +01:00
Add option to disable building unit tests in Meson build file.
This commit is contained in:
parent
535205e2ac
commit
ce7b153021
@ -14,4 +14,6 @@ project(
|
|||||||
)
|
)
|
||||||
|
|
||||||
subdir('src/catch2')
|
subdir('src/catch2')
|
||||||
|
if get_option('tests')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
|
endif
|
||||||
|
1
meson_options.txt
Normal file
1
meson_options.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
option('tests', type: 'boolean', value: true, description: 'Build the unit tests')
|
Loading…
Reference in New Issue
Block a user