]> git.proxmox.com Git - ceph.git/blob - ceph/src/dmclock/support/test/CMakeLists.txt
update sources to v12.1.0
[ceph.git] / ceph / src / dmclock / support / test / CMakeLists.txt
1 include_directories(../src)
2
3 set(local_flags "-Wall -pthread")
4
5 # dmclock does not use intrusive heap (but it does use indirect
6 # intrusive heap), so we won't use this code
7 if(false)
8 set(srcs
9 test_intrusive_heap.cc)
10 add_executable(test_intru_heap test_intrusive_heap.cc)
11 set_source_files_properties(${srcs}
12 PROPERTIES
13 COMPILE_FLAGS "${local_flags}")
14 endif(false)
15
16 set(test_srcs test_indirect_intrusive_heap.cc)
17
18 set_source_files_properties(${test_srcs}
19 PROPERTIES
20 COMPILE_FLAGS "${local_flags}"
21 )
22
23 add_executable(dmclock-data-struct-tests ${test_srcs})
24
25 target_link_libraries(dmclock-data-struct-tests
26 LINK_PRIVATE gtest gtest_main pthread)