2016-02-11 14:44:28 +01:00
|
|
|
project (blockstore)
|
|
|
|
|
|
|
|
set(SOURCES
|
2017-09-17 03:07:27 +02:00
|
|
|
utils/BlockId.cpp
|
2017-09-17 01:10:53 +02:00
|
|
|
utils/IdWrapper.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
utils/BlockStoreUtils.cpp
|
|
|
|
utils/FileDoesntExistException.cpp
|
|
|
|
implementations/testfake/FakeBlockStore.cpp
|
|
|
|
implementations/testfake/FakeBlock.cpp
|
2017-02-21 23:27:46 +01:00
|
|
|
implementations/inmemory/InMemoryBlockStore2.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
implementations/parallelaccess/ParallelAccessBlockStore.cpp
|
|
|
|
implementations/parallelaccess/BlockRef.cpp
|
|
|
|
implementations/parallelaccess/ParallelAccessBlockStoreAdapter.cpp
|
|
|
|
implementations/compressing/CompressingBlockStore.cpp
|
|
|
|
implementations/compressing/CompressedBlock.cpp
|
|
|
|
implementations/compressing/compressors/RunLengthEncoding.cpp
|
|
|
|
implementations/compressing/compressors/Gzip.cpp
|
2017-02-14 09:16:38 +01:00
|
|
|
implementations/encrypted/EncryptedBlockStore2.cpp
|
|
|
|
implementations/ondisk/OnDiskBlockStore2.cpp
|
2017-08-22 01:03:04 +02:00
|
|
|
implementations/caching/CachingBlockStore2.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
implementations/caching/cache/PeriodicTask.cpp
|
|
|
|
implementations/caching/cache/CacheEntry.cpp
|
|
|
|
implementations/caching/cache/Cache.cpp
|
|
|
|
implementations/caching/cache/QueueMap.cpp
|
2017-07-07 23:18:09 +02:00
|
|
|
implementations/low2highlevel/LowToHighLevelBlock.cpp
|
|
|
|
implementations/low2highlevel/LowToHighLevelBlockStore.cpp
|
2017-09-16 01:18:58 +02:00
|
|
|
implementations/integrity/IntegrityBlockStore2.cpp
|
|
|
|
implementations/integrity/KnownBlockVersions.cpp
|
2017-09-18 21:42:07 +02:00
|
|
|
implementations/integrity/ClientIdAndBlockId.cpp
|
2016-07-15 10:23:09 +02:00
|
|
|
implementations/mock/MockBlockStore.cpp
|
|
|
|
implementations/mock/MockBlock.cpp
|
2016-02-11 14:44:28 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(${PROJECT_NAME} STATIC ${SOURCES})
|
|
|
|
|
2016-02-11 14:50:18 +01:00
|
|
|
target_link_libraries(${PROJECT_NAME} PUBLIC cpp-utils)
|
2016-02-11 14:44:28 +01:00
|
|
|
|
|
|
|
target_add_boost(${PROJECT_NAME} filesystem system thread)
|
|
|
|
target_enable_style_warnings(${PROJECT_NAME})
|
|
|
|
target_activate_cpp14(${PROJECT_NAME})
|