1 include_directories(../src)
3 set(local_flags "-Wall -pthread")
5 # dmclock does not use intrusive heap (but it does use indirect
6 # intrusive heap), so we won't use this code
9 test_intrusive_heap.cc)
10 add_executable(test_intru_heap test_intrusive_heap.cc)
11 set_source_files_properties(${srcs}
13 COMPILE_FLAGS "${local_flags}")
16 set(test_srcs test_indirect_intrusive_heap.cc)
18 set_source_files_properties(${test_srcs}
20 COMPILE_FLAGS "${local_flags}"
23 add_executable(dmclock-data-struct-tests ${test_srcs})
25 target_link_libraries(dmclock-data-struct-tests
26 LINK_PRIVATE gtest gtest_main pthread)