blob: 24b3521576f6183a28a43ddc8cfabeed12241665 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
include_directories(../src)
set(local_flags "-Wall -pthread")
# dmclock does not use intrusive heap (but it does use indirect
# intrusive heap), so we won't use this code
if(false)
set(srcs
test_intrusive_heap.cc)
add_executable(test_intru_heap test_intrusive_heap.cc)
set_source_files_properties(${srcs}
PROPERTIES
COMPILE_FLAGS "${local_flags}")
endif(false)
set(test_srcs test_indirect_intrusive_heap.cc)
set_source_files_properties(${test_srcs}
PROPERTIES
COMPILE_FLAGS "${local_flags}"
)
add_executable(dmclock-data-struct-tests ${test_srcs})
target_link_libraries(dmclock-data-struct-tests
LINK_PRIVATE GTest::GTest GTest::Main Threads::Threads)
|