Add an option to disable building SelfTest with meson #2666
Labels
Building and Packaging
Issues affecting build/packaging scripts and utilities
Good First Issue
Issues that can be undertaken by someone new to the project
Description
Today, there is an option
BUILD_TESTING
to disable building SelfTest with cmake, however that is not available for meson. The proposal is to add a meson option to building tests directory inCatch2/meson.build
:And add an options file
Catch2/meson_options.txt
:Additional context
We're using catch2 as a wrapdb subproject in meson. This allows us to build our code on different platforms without having to install dependencies manually. Since catch2 always includes SelfTest in its meson.build, we end up running SelfTest along with our unit tests when we run
meson test
.The text was updated successfully, but these errors were encountered: