A C++ library for logging very fast and without allocating.
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

21 linhas
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)