A C++ library for logging very fast and without allocating.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

21 lignes
523 B

  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)