diff options
author | Andrew Stitcher <astitcher@apache.org> | 2013-10-08 15:08:44 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2013-10-08 15:08:44 +0000 |
commit | 58ca342017a5f413587edbfe1e809e9ee708ad27 (patch) | |
tree | 839b717aaab7494aff5dfbaeb2d6772864928269 /qpid/cpp/src/legacystore.cmake | |
parent | a4a2f3f4c0986c74d4cf9277b649f498c8b1aae3 (diff) | |
download | qpid-python-58ca342017a5f413587edbfe1e809e9ee708ad27.tar.gz |
QPID-4582: Get legacystore unit tests working
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530300 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/legacystore.cmake')
-rw-r--r-- | qpid/cpp/src/legacystore.cmake | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/qpid/cpp/src/legacystore.cmake b/qpid/cpp/src/legacystore.cmake index 1fdb51aa32..afb5ea0897 100644 --- a/qpid/cpp/src/legacystore.cmake +++ b/qpid/cpp/src/legacystore.cmake @@ -152,6 +152,26 @@ if (BUILD_LEGACYSTORE) ${DB_LIBRARY} ) + # For use in the store tests only + add_library (legacystore_shared SHARED + ${legacy_jrnl_SOURCES} + ${legacy_store_SOURCES} + ${legacy_qmf_SOURCES} + ) + + set_target_properties (legacystore_shared PROPERTIES + COMPILE_DEFINITIONS _IN_QPID_BROKER + INCLUDE_DIRECTORIES "${legacy_include_DIRECTORIES}" + ) + + target_link_libraries (legacystore_shared + aio + uuid + qpidcommon qpidtypes qpidbroker + ${Boost_PROGRAM_OPTIONS_LIBRARY} + ${DB_LIBRARY} + ) + install(TARGETS legacystore DESTINATION ${QPIDD_MODULE_DIR} COMPONENT ${QPID_COMPONENT_BROKER}) |