]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/messenger/CMakeLists.txt
update download target update for octopus release
[ceph.git] / ceph / src / test / messenger / CMakeLists.txt
1 add_executable(simple_server
2 simple_server.cc
3 simple_dispatcher.cc
4 )
5 target_link_libraries(simple_server
6 global ceph-common
7 ${EXTRALIBS}
8 ${CMAKE_DL_LIBS}
9 )
10
11 add_executable(simple_client
12 simple_client.cc
13 simple_dispatcher.cc
14 )
15 target_link_libraries(simple_client
16 global ceph-common
17 ${EXTRALIBS}
18 ${CMAKE_DL_LIBS}
19 )
20
21 if(HAVE_XIO)
22 add_executable(xio_server
23 xio_server.cc
24 xio_dispatcher.cc
25 )
26 target_link_libraries(xio_server
27 global ceph-common
28 ${XIO_LIBRARY} pthread rt
29 ${EXTRALIBS}
30 ${CMAKE_DL_LIBS}
31 )
32
33 add_executable(xio_client
34 xio_client.cc
35 xio_dispatcher.cc
36 )
37 target_link_libraries(xio_client
38 global ceph-common
39 ${XIO_LIBRARY} pthread rt
40 ${EXTRALIBS}
41 ${CMAKE_DL_LIBS}
42 )
43 endif(HAVE_XIO)