1+ project (libbftstorage LANGUAGES CXX )
2+
13add_library (concordbft_storage STATIC src/memorydb_client.cpp
24 src/direct_kv_key_manipulator.cpp
35 src/merkle_tree_key_manipulator.cpp
46 src/s3/key_manipulator.cpp )
57
6- target_include_directories (concordbft_storage PUBLIC include )
8+ target_include_directories (concordbft_storage PUBLIC . )
79
810if (USE_S3_OBJECT_STORE)
911 find_library (LIBS3 s3 )
@@ -28,6 +30,38 @@ if (BUILD_ROCKSDB_STORAGE)
2830
2931endif (BUILD_ROCKSDB_STORAGE )
3032
33+ target_sources (concordbft_storage PUBLIC FILE_SET storage_pub_hdrs
34+ TYPE HEADERS
35+ FILES
36+ memorydb/transaction.hpp
37+ memorydb/client.hpp
38+ memorydb/key_comparator.hpp
39+ rocksdb/rocksdb_exception.hpp
40+ rocksdb/native_iterator.hpp
41+ rocksdb/transaction.hpp
42+ rocksdb/client.hpp
43+ rocksdb/native_write_batch.hpp
44+ rocksdb/key_comparator.hpp
45+ rocksdb/native_write_batch.ipp
46+ rocksdb/native_client.ipp
47+ rocksdb/details.hpp
48+ rocksdb/native_client.hpp
49+ s3/s3_metrics.hpp
50+ s3/config_parser.hpp
51+ s3/client.hpp
52+ s3/key_manipulator.hpp
53+ storage_metrics.hpp
54+ db_interface.hpp
55+ merkle_tree_key_manipulator.hpp
56+ key_manipulator_interface.hpp
57+ direct_kv_key_manipulator.hpp
58+ db_types.hpp
59+ )
60+ install (TARGETS concordbft_storage FILE_SET storage_pub_hdrs DESTINATION storage)
61+
62+ add_library (concordbft_storage_test_headers INTERFACE )
63+ target_include_directories (concordbft_storage_test_headers INTERFACE test )
64+
3165if (BUILD_TESTING)
3266add_subdirectory (test )
33- endif ()
67+ endif ()
0 commit comments