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.

17 lines
443 B

пре 2 година
пре 2 година
  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)