A C++ library for logging very fast and without allocating.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

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