]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # ceph_test_async_driver |
2 | add_executable(ceph_test_async_driver | |
3 | test_async_driver.cc | |
4 | $<TARGET_OBJECTS:unit-main> | |
5 | ) | |
7c673cae FG |
6 | target_link_libraries(ceph_test_async_driver os global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${UNITTEST_LIBS}) |
7 | ||
8 | # ceph_test_msgr | |
9 | add_executable(ceph_test_msgr | |
10 | test_msgr.cc | |
11 | ) | |
7c673cae FG |
12 | target_link_libraries(ceph_test_msgr os global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${UNITTEST_LIBS}) |
13 | ||
14 | # ceph_test_async_networkstack | |
15 | add_executable(ceph_test_async_networkstack | |
16 | test_async_networkstack.cc | |
17 | $<TARGET_OBJECTS:unit-main> | |
18 | ) | |
7c673cae FG |
19 | target_link_libraries(ceph_test_async_networkstack global ${CRYPTO_LIBS} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${UNITTEST_LIBS}) |
20 | ||
21 | #ceph_perf_msgr_server | |
22 | add_executable(ceph_perf_msgr_server perf_msgr_server.cc) | |
7c673cae FG |
23 | target_link_libraries(ceph_perf_msgr_server os global ${UNITTEST_LIBS}) |
24 | ||
25 | #ceph_perf_msgr_client | |
26 | add_executable(ceph_perf_msgr_client perf_msgr_client.cc) | |
7c673cae FG |
27 | target_link_libraries(ceph_perf_msgr_client os global ${UNITTEST_LIBS}) |
28 | ||
f6b5b4d7 TL |
29 | # unitttest_frames_v2 |
30 | add_executable(unittest_frames_v2 test_frames_v2.cc) | |
31 | add_ceph_unittest(unittest_frames_v2) | |
32 | target_link_libraries(unittest_frames_v2 os global ${UNITTEST_LIBS}) | |
33 | ||
7c673cae FG |
34 | # test_userspace_event |
35 | if(HAVE_DPDK) | |
36 | add_executable(ceph_test_userspace_event | |
37 | test_userspace_event.cc | |
38 | $<TARGET_OBJECTS:unit-main>) | |
11fdf7f2 | 39 | target_link_libraries(ceph_test_userspace_event |
7c673cae FG |
40 | global |
41 | ${CMAKE_DL_LIBS} | |
42 | ${UNITTEST_LIBS}) | |
43 | endif(HAVE_DPDK) | |
44 | ||
45 | install(TARGETS | |
46 | ceph_test_async_driver | |
47 | ceph_test_msgr | |
48 | ceph_test_async_networkstack | |
49 | ceph_perf_msgr_server | |
50 | ceph_perf_msgr_client | |
51 | DESTINATION ${CMAKE_INSTALL_BINDIR}) |