Creating a new library nano_store to hold datastore related functionality.
Created nano_store library which is under 'store' Moving store.cpp to component.cpp
This commit is contained in:
parent
0fdd07d434
commit
29cd166fe5
5 changed files with 18 additions and 2 deletions
|
@ -651,6 +651,9 @@ target_compile_definitions(blake2 PRIVATE -D__SSE2__)
|
|||
|
||||
add_subdirectory(nano/crypto_lib)
|
||||
add_subdirectory(nano/secure)
|
||||
add_subdirectory(nano/store)
|
||||
target_include_directories(nano_store PUBLIC ${BOOST_LIBRARY_INCLUDES})
|
||||
target_include_directories(nano_store PUBLIC submodules)
|
||||
add_subdirectory(nano/lib)
|
||||
add_subdirectory(nano/node)
|
||||
add_subdirectory(nano/nano_node)
|
||||
|
|
|
@ -263,6 +263,7 @@ target_link_libraries(
|
|||
rpc
|
||||
secure
|
||||
nano_lib
|
||||
nano_store
|
||||
libminiupnpc-static
|
||||
argon2
|
||||
lmdb
|
||||
|
|
|
@ -39,7 +39,6 @@ add_library(
|
|||
${PLATFORM_SECURE_SOURCE}
|
||||
${CMAKE_BINARY_DIR}/bootstrap_weights_live.cpp
|
||||
${CMAKE_BINARY_DIR}/bootstrap_weights_beta.cpp
|
||||
store.cpp
|
||||
buffer.hpp
|
||||
common.hpp
|
||||
common.cpp
|
||||
|
@ -58,7 +57,6 @@ target_link_libraries(
|
|||
nano_lib
|
||||
ed25519
|
||||
crypto_lib
|
||||
lmdb
|
||||
Boost::iostreams
|
||||
Boost::system
|
||||
Boost::filesystem)
|
||||
|
|
14
nano/store/CMakeLists.txt
Normal file
14
nano/store/CMakeLists.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
add_library(nano_store component.cpp component.hpp)
|
||||
|
||||
target_link_libraries(
|
||||
nano_store
|
||||
Boost::circular_buffer
|
||||
Boost::endian
|
||||
Boost::filesystem
|
||||
Boost::iostreams
|
||||
Boost::log_setup
|
||||
Boost::log
|
||||
Boost::multiprecision
|
||||
Boost::pool
|
||||
Boost::stacktrace
|
||||
Boost::variant)
|
Loading…
Add table
Add a link
Reference in a new issue