6 ${PROJECT_SOURCE_DIR}/src/common/util.cc
7 ${PROJECT_SOURCE_DIR}/src/common/obj_bencher.cc)
8 add_executable(rados ${rados_srcs})
9 target_link_libraries(rados librados global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} radosstriper)
10 install(TARGETS rados DESTINATION bin)
13 add_executable(ceph_scratchtool scratchtool.c)
14 target_link_libraries(ceph_scratchtool librados global)
15 install(TARGETS ceph_scratchtool DESTINATION bin)
17 add_executable(ceph_scratchtoolpp scratchtoolpp.cc)
18 target_link_libraries(ceph_scratchtoolpp librados global)
19 install(TARGETS ceph_scratchtoolpp DESTINATION bin)
21 add_executable(ceph_radosacl radosacl.cc)
22 target_link_libraries(ceph_radosacl librados global)
23 install(TARGETS ceph_radosacl DESTINATION bin)
25 add_executable(ceph-osdomap-tool ceph_osdomap_tool.cc)
26 target_link_libraries(ceph-osdomap-tool os global Boost::program_options)
27 install(TARGETS ceph-osdomap-tool DESTINATION bin)
29 add_executable(ceph-monstore-tool
31 ../mgr/mgr_commands.cc)
32 target_link_libraries(ceph-monstore-tool os global Boost::program_options)
33 install(TARGETS ceph-monstore-tool DESTINATION bin)
35 ceph-monstore-update-crush.sh
36 DESTINATION ${CMAKE_INSTALL_LIBDIR}/ceph)
39 add_executable(ceph-objectstore-tool
40 ceph_objectstore_tool.cc
43 target_link_libraries(ceph-objectstore-tool osd os global Boost::program_options ${CMAKE_DL_LIBS})
45 target_link_libraries(ceph-objectstore-tool fuse)
47 install(TARGETS ceph-objectstore-tool DESTINATION bin)
51 add_executable(ceph-client-debug ceph-client-debug.cc)
52 target_link_libraries(ceph-client-debug cephfs global client)
53 install(TARGETS ceph-client-debug DESTINATION bin)
58 add_executable(ceph-kvstore-tool ceph_kvstore_tool.cc)
59 target_link_libraries(ceph-kvstore-tool os global)
60 install(TARGETS ceph-kvstore-tool DESTINATION bin)
63 set(ceph_conf_srcs ceph_conf.cc)
64 add_executable(ceph-conf ${ceph_conf_srcs})
65 target_link_libraries(ceph-conf global)
66 install(TARGETS ceph-conf DESTINATION bin)
68 set(crushtool_srcs crushtool.cc)
69 add_executable(crushtool ${crushtool_srcs})
70 target_link_libraries(crushtool global)
71 install(TARGETS crushtool DESTINATION bin)
73 set(monmaptool_srcs monmaptool.cc)
74 add_executable(monmaptool ${monmaptool_srcs})
75 target_link_libraries(monmaptool global)
76 install(TARGETS monmaptool DESTINATION bin)
78 set(osdomaptool_srcs osdmaptool.cc)
79 add_executable(osdmaptool ${osdomaptool_srcs})
80 target_link_libraries(osdmaptool global)
81 install(TARGETS osdmaptool DESTINATION bin)
84 set(ceph_psim_srcs psim.cc)
85 add_executable(ceph_psim ${ceph_psim_srcs})
86 target_link_libraries(ceph_psim global)
87 install(TARGETS ceph_psim DESTINATION bin)
90 set(ceph_authtool_srcs ceph_authtool.cc)
91 add_executable(ceph-authtool ${ceph_authtool_srcs})
92 target_link_libraries(ceph-authtool global ${EXTRALIBS} ${CRYPTO_LIBS})
93 install(TARGETS ceph-authtool DESTINATION bin)
96 add_subdirectory(cephfs)
100 add_subdirectory(rbd)
101 add_subdirectory(rbd_mirror)
103 add_subdirectory(rbd_nbd)
106 add_subdirectory(rbd_ggate)