Added MD5, SHA256, CityHash hash function for MultiLevelHashMap testing
[libcds.git] / tests / CMakeLists.txt
1 set(TEST_COMMON test-common)
2
3 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
4
5 set(SOURCES cppunit/test_main.cpp
6             cppunit/thread.cpp
7             unit/michael_alloc.cpp
8             unit/ellen_bintree_update_desc_pool.cpp
9             hashing/city.cc
10             hashing/md5.cpp
11             hashing/sha256.cpp)
12
13 add_library(${TEST_COMMON} OBJECT ${SOURCES})
14
15 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/test-hdr)
16 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/unit)
17
18 file(GLOB  CONF_FILES data/*.conf)
19 file(COPY ${CONF_FILES} DESTINATION ${EXECUTABLE_OUTPUT_PATH})