A C++ library for logging very fast and without allocating.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
523 B

пре 1 година
пре 1 година
пре 1 година
пре 1 година
пре 1 година
пре 1 година
пре 1 година
  1. Include(FetchContent)
  2. include(../code-coverage.cmake)
  3. FetchContent_Declare(
  4. Catch2
  5. GIT_REPOSITORY https://github.com/catchorg/Catch2.git
  6. GIT_TAG v3.1.0
  7. )
  8. FetchContent_MakeAvailable(Catch2)
  9. add_executable(tests disruptor.cpp)
  10. target_link_libraries(tests PRIVATE SnugLog)
  11. target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)
  12. include_directories(../LibSnugLog/public_include)
  13. target_code_coverage(tests EXCLUDE catch2 Tests)
  14. include(CTest)
  15. include(Catch)
  16. catch_discover_tests(tests)