A C++ library for logging very fast and without allocating.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
443 B

  1. Include(FetchContent)
  2. FetchContent_Declare(
  3. Catch2
  4. GIT_REPOSITORY https://github.com/catchorg/Catch2.git
  5. GIT_TAG v3.1.0
  6. )
  7. FetchContent_MakeAvailable(Catch2)
  8. add_executable(tests disruptor.cpp)
  9. target_link_libraries(tests PRIVATE LibSnugLog)
  10. target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)
  11. include_directories(../LibSnugLog/public_include)
  12. include(CTest)
  13. include(Catch)
  14. catch_discover_tests(tests)