This eliminates the unittest target and combines unittests with the "faunus" target. Tests are compiled significantly faster and the commit also enables ccache builds in CMake which further speeds up re-compilation. Not sure there's a point in a traditional code review as it's a massive reorganization, affecting most source files. Ping @rc83.
Run tests with faunus test <doctest-options>...
All testing code can be removed with ENABLE_TESTS=off
Indivudual tests can be run from CLion and are mixed with the code in .cpp files:
This eliminates the
unittest
target and combines unittests with the "faunus" target. Tests are compiled significantly faster and the commit also enablesccache
builds in CMake which further speeds up re-compilation. Not sure there's a point in a traditional code review as it's a massive reorganization, affecting most source files. Ping @rc83.faunus test <doctest-options>...
ENABLE_TESTS=off
.cpp
files: