aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-03-16 03:12:54 -0400
committerThomas Winget <tewinget@gmail.com>2015-03-16 04:17:53 -0400
commitcade0da8f1e932a17886aa9893a580fa3e3289c7 (patch)
treebbb2c171f01b37e227754d648e29c93f15bb344b /src/blockchain_db
parentBerkeleyDB BlockchainDB impl copy/paste/modify (diff)
downloadmonero-cade0da8f1e932a17886aa9893a580fa3e3289c7.tar.xz
CMake wiring, minor cleanup, minor test addition
Make Cmake things aware of BerkeleyDB and BlockchainBDB Make the BlockchainDB unit tests aware of BlockchainBDB
Diffstat (limited to 'src/blockchain_db')
-rw-r--r--src/blockchain_db/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blockchain_db/CMakeLists.txt b/src/blockchain_db/CMakeLists.txt
index 84b2d6a74..62b2eabe2 100644
--- a/src/blockchain_db/CMakeLists.txt
+++ b/src/blockchain_db/CMakeLists.txt
@@ -29,6 +29,7 @@
set(blockchain_db_sources
blockchain_db.cpp
lmdb/db_lmdb.cpp
+ berkeleydb/db_bdb.cpp
)
set(blockchain_db_headers)
@@ -36,6 +37,7 @@ set(blockchain_db_headers)
set(blockchain_db_private_headers
blockchain_db.h
lmdb/db_lmdb.h
+ berkeleydb/db_bdb.h
)
bitmonero_private_headers(blockchain_db
@@ -57,4 +59,5 @@ target_link_libraries(blockchain_db
${Boost_SYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}
${LMDB_LIBRARY}
+ ${BDB_LIBRARY}
${EXTRA_LIBRARIES})