Add EnvKvStore for envvar parsing and interleaving

This commit is contained in:
2026-06-11 19:11:59 -04:00
parent 00be517f30
commit ffe86369e2
4 changed files with 492 additions and 0 deletions
+13
View File
@@ -80,6 +80,7 @@ add_library(spinscale SHARED
src/qutex.cpp
src/componentThread.cpp
src/component.cpp
src/envKvStore.cpp
src/puppeteerComponent.cpp
src/puppetApplication.cpp
src/runtime.cpp
@@ -147,6 +148,18 @@ install(DIRECTORY include/spinscale
FILES_MATCHING PATTERN "*.h"
)
if(BUILD_TESTING AND TARGET GTest::gtest_main)
add_executable(spinscale_env_kv_store_tests
tests/env_kv_store_test.cpp
)
target_link_libraries(spinscale_env_kv_store_tests PRIVATE
spinscale
GTest::gtest_main
)
include(GoogleTest)
gtest_discover_tests(spinscale_env_kv_store_tests)
endif()
install(FILES include/boostAsioLinkageFix.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)