mirror of
https://github.com/latentPrion/libspinscale.git
synced 2026-06-24 11:58:33 +00:00
Add EnvKvStore for envvar parsing and interleaving
This commit is contained in:
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user