Adds a BUILD_TESTS option to CMake. This defaults to OFF. If it's set to ON, then tests are compiled with the main program. If it's set to OFF, then tests are ignored, and Catch2 isn't required.
From the command line, this option can be turned on with -DBUILD_TESTS=ON.
Fixes #69.
Adds a BUILD_TESTS option to CMake. This defaults to OFF. If it's set to ON, then tests are compiled with the main program. If it's set to OFF, then tests are ignored, and Catch2 isn't required.
From the command line, this option can be turned on with
-DBUILD_TESTS=ON
.