|
|
-
- include_directories(./public_include)
- include_directories(./include)
-
- Include(FetchContent)
-
- FetchContent_Declare(
- NlohmannJson
- GIT_REPOSITORY https://github.com/nlohmann/json.git
- GIT_TAG v3.11.2
- OVERRIDE_FIND_PACKAGE
- )
-
- FetchContent_MakeAvailable(NlohmannJson)
-
- add_library(SnugLog
- include/disruptor.h
- source/disruptor.cpp include/sink.h include/registry.h include/source.h public_include/sl/strategies.h public_include/sl/register.h public_include/sl/transaction.h source/registry.cpp public_include/sl/logger.h source/logger.cpp)
- target_link_libraries(SnugLog PRIVATE nlohmann_json )
|