NetworkedApplications: SQLite-backed KV profile

This commit is contained in:
faumaray committed 2026-12-03 20:41:19 +03:00
1 parent 61582ea461
commit c21dbf5c93
4 files changed
+651 -2

No files matched your search

@@ -12,9 +12,10 @@ find_package(Void CONFIG REQUIRED COMPONENTS Runtime)
add_library(networked_kv STATIC
src/application.cpp
src/http_api.cpp
src/memory_store.cpp)
src/memory_store.cpp
src/sqlite_store.cpp)
target_include_directories(networked_kv PUBLIC include)
target_link_libraries(networked_kv PUBLIC Void::Net Void::Runtime)
target_link_libraries(networked_kv PUBLIC Void::Net Void::Runtime Void::Sqlite)
add_executable(networked_kv_test tests/application_test.cpp)
target_link_libraries(networked_kv_test PRIVATE networked_kv)
@@ -25,7 +26,11 @@ target_link_libraries(networked_kv_domain_test PRIVATE networked_kv)
add_executable(networked_kv_http_test tests/http_api_test.cpp)
target_link_libraries(networked_kv_http_test PRIVATE networked_kv)
add_executable(networked_kv_sqlite_test tests/sqlite_store_test.cpp)
target_link_libraries(networked_kv_sqlite_test PRIVATE networked_kv)
enable_testing()
add_test(NAME networked_kv_lifecycle COMMAND networked_kv_test)
add_test(NAME networked_kv_domain COMMAND networked_kv_domain_test)
add_test(NAME networked_kv_http COMMAND networked_kv_http_test)
add_test(NAME networked_kv_sqlite COMMAND networked_kv_sqlite_test)