2021-11-16 16:39:38 +08:00
|
|
|
add_executable(dragonfly dfly_main.cc)
|
|
|
|
cxx_link(dragonfly base dragonfly_lib)
|
|
|
|
|
2021-11-19 00:38:20 +08:00
|
|
|
add_library(dragonfly_lib command_registry.cc db_slice.cc dragonfly_listener.cc
|
|
|
|
dragonfly_connection.cc
|
2021-11-17 22:38:32 +08:00
|
|
|
main_service.cc engine_shard_set.cc
|
|
|
|
redis_parser.cc resp_expr.cc reply_builder.cc)
|
2021-11-16 16:39:38 +08:00
|
|
|
|
|
|
|
cxx_link(dragonfly_lib uring_fiber_lib
|
|
|
|
fibers_ext strings_lib http_server_lib)
|
2021-11-16 17:39:02 +08:00
|
|
|
|
|
|
|
add_library(dfly_test_lib test_utils.cc)
|
|
|
|
cxx_link(dfly_test_lib dragonfly_lib gtest_main_ext)
|
|
|
|
|
|
|
|
cxx_test(redis_parser_test dfly_test_lib LABELS DFLY)
|