Add option to disable building unit tests in Meson build file.

This commit is contained in:
Ali-Amir Aldan committed 2023-05-26 10:05:06 -07:00
1 parent 535205e2ac
commit ce7b153021
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -14,4 +14,6 @@ project(
)
subdir('src/catch2')
subdir('tests')
if get_option('tests')
subdir('tests')
endif
+1
View File
@@ -0,0 +1 @@
option('tests', type: 'boolean', value: true, description: 'Build the unit tests')