Adding Catch2 unit testing framework. Init characteristics serializer tests.

This commit is contained in:
Pcornat 2022-01-14 23:36:38 +01:00
commit a5ce3c378f
Signed by: Pcornat
GPG key ID: 2F3932FF46D9ECA0
6 changed files with 75 additions and 0 deletions

View file

@ -82,6 +82,12 @@ add_subdirectory(external/spdlog)
set(JSON_BuildTests OFF CACHE INTERNAL "")
add_subdirectory(external/json)
option(CATCH_INSTALL_DOCS "Install documentation alongside library" OFF)
option(CATCH_INSTALL_EXTRAS "Install extras alongside library" OFF)
add_subdirectory(external/catch2)
add_subdirectory("Unit testing")
set(COMPILE_FLAGS
-pipe
-march=skylake # change to native or your architecture.