6 ${PROJECT_SOURCE_DIR}/src/common/util.cc
7 ${PROJECT_SOURCE_DIR}/src/common/obj_bencher.cc
8 ${PROJECT_SOURCE_DIR}/src/osd/ECUtil.cc)
9 add_executable(rados ${rados_srcs})
11 target_link_libraries(rados librados global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS})
12 if(WITH_LIBRADOSSTRIPER)
13 target_link_libraries(rados radosstriper)
15 target_link_libraries(rados cls_lock_client)
17 install(TARGETS rados DESTINATION bin)
20 add_executable(ceph_scratchtool scratchtool.c)
21 target_link_libraries(ceph_scratchtool librados global)
22 install(TARGETS ceph_scratchtool DESTINATION bin)
24 add_executable(ceph_scratchtoolpp scratchtoolpp.cc)
25 target_link_libraries(ceph_scratchtoolpp librados global)
26 install(TARGETS ceph_scratchtoolpp DESTINATION bin)
28 add_executable(ceph_radosacl radosacl.cc)
29 target_link_libraries(ceph_radosacl librados global)
30 install(TARGETS ceph_radosacl DESTINATION bin)
33 ceph-monstore-update-crush.sh
34 DESTINATION ${CMAKE_INSTALL_LIBDIR}/ceph)
37 add_executable(ceph-osdomap-tool ceph_osdomap_tool.cc)
38 target_link_libraries(ceph-osdomap-tool os global Boost::program_options)
39 install(TARGETS ceph-osdomap-tool DESTINATION bin)
41 add_executable(ceph-monstore-tool
43 ../mgr/mgr_commands.cc)
44 target_link_libraries(ceph-monstore-tool os global Boost::program_options)
45 install(TARGETS ceph-monstore-tool DESTINATION bin)
47 add_executable(ceph-objectstore-tool
48 ceph_objectstore_tool.cc
51 target_link_libraries(ceph-objectstore-tool osd os global Boost::program_options ${CMAKE_DL_LIBS})
53 target_link_libraries(ceph-objectstore-tool FUSE::FUSE)
55 install(TARGETS ceph-objectstore-tool DESTINATION bin)
59 add_executable(ceph-client-debug ceph-client-debug.cc)
60 target_link_libraries(ceph-client-debug cephfs global client)
61 install(TARGETS ceph-client-debug DESTINATION bin)
65 add_executable(ceph-kvstore-tool
68 target_link_libraries(ceph-kvstore-tool os global)
69 install(TARGETS ceph-kvstore-tool DESTINATION bin)
71 set(ceph_conf_srcs ceph_conf.cc)
72 add_executable(ceph-conf ${ceph_conf_srcs})
73 target_link_libraries(ceph-conf global)
74 install(TARGETS ceph-conf DESTINATION bin)
76 set(crushtool_srcs crushtool.cc)
77 add_executable(crushtool ${crushtool_srcs})
78 target_link_libraries(crushtool global)
79 install(TARGETS crushtool DESTINATION bin)
81 set(monmaptool_srcs monmaptool.cc)
82 add_executable(monmaptool ${monmaptool_srcs})
83 target_link_libraries(monmaptool global)
84 install(TARGETS monmaptool DESTINATION bin)
86 set(osdomaptool_srcs osdmaptool.cc)
87 add_executable(osdmaptool ${osdomaptool_srcs})
88 target_link_libraries(osdmaptool global)
89 install(TARGETS osdmaptool DESTINATION bin)
91 set(ceph-diff-sorted_srcs ceph-diff-sorted.cc)
92 add_executable(ceph-diff-sorted ${ceph-diff-sorted_srcs})
93 install(TARGETS ceph-diff-sorted DESTINATION bin)
96 set(ceph_psim_srcs psim.cc)
97 add_executable(ceph_psim ${ceph_psim_srcs})
98 target_link_libraries(ceph_psim global)
99 install(TARGETS ceph_psim DESTINATION bin)
102 set(ceph_authtool_srcs ceph_authtool.cc)
103 add_executable(ceph-authtool ${ceph_authtool_srcs})
104 target_link_libraries(ceph-authtool global ${EXTRALIBS} ${CRYPTO_LIBS})
105 install(TARGETS ceph-authtool DESTINATION bin)
108 set(ceph_dedup_tool_srcs ceph_dedup_tool.cc)
109 add_executable(ceph-dedup-tool ${ceph_dedup_tool_srcs})
110 target_link_libraries(ceph-dedup-tool librados global cls_cas_client)
111 install(TARGETS ceph-dedup-tool DESTINATION bin)
115 add_subdirectory(cephfs)
119 add_subdirectory(rbd)
120 add_subdirectory(rbd_mirror)
122 add_subdirectory(rbd_nbd)
125 add_subdirectory(rbd_ggate)
130 add_subdirectory(crimson)
133 add_subdirectory(immutable_object_cache)
134 add_subdirectory(ceph-dencoder)