blob: beaa7133d8eaf86533388f2785fdf7bc474b4fb1 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# ceph_test_async_driver
add_executable(ceph_test_async_driver
test_async_driver.cc
$<TARGET_OBJECTS:unit-main>
)
target_link_libraries(ceph_test_async_driver os global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${UNITTEST_LIBS})
# ceph_test_msgr
add_executable(ceph_test_msgr
test_msgr.cc
)
target_link_libraries(ceph_test_msgr os global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${UNITTEST_LIBS})
# ceph_test_async_networkstack
add_executable(ceph_test_async_networkstack
test_async_networkstack.cc
$<TARGET_OBJECTS:unit-main>
)
target_link_libraries(ceph_test_async_networkstack global ${CRYPTO_LIBS} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${UNITTEST_LIBS})
#ceph_perf_msgr_server
add_executable(ceph_perf_msgr_server perf_msgr_server.cc)
target_link_libraries(ceph_perf_msgr_server os global ${UNITTEST_LIBS})
#ceph_perf_msgr_client
add_executable(ceph_perf_msgr_client perf_msgr_client.cc)
target_link_libraries(ceph_perf_msgr_client os global ${UNITTEST_LIBS})
# unitttest_frames_v2
add_executable(unittest_frames_v2 test_frames_v2.cc)
add_ceph_unittest(unittest_frames_v2)
target_link_libraries(unittest_frames_v2 os global ${UNITTEST_LIBS})
add_executable(unittest_comp_registry
test_comp_registry.cc
$<TARGET_OBJECTS:unit-main>
)
add_ceph_unittest(unittest_comp_registry)
target_link_libraries(unittest_comp_registry global)
# test_userspace_event
if(HAVE_DPDK)
add_executable(ceph_test_userspace_event
test_userspace_event.cc
$<TARGET_OBJECTS:unit-main>)
target_link_libraries(ceph_test_userspace_event
global
${CMAKE_DL_LIBS}
${UNITTEST_LIBS})
endif(HAVE_DPDK)
install(TARGETS
ceph_test_async_driver
ceph_test_msgr
ceph_test_async_networkstack
ceph_perf_msgr_server
ceph_perf_msgr_client
DESTINATION ${CMAKE_INSTALL_BINDIR})
|