X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftools%2FCMakeLists.txt;fp=src%2Fceph%2Fsrc%2Ftools%2FCMakeLists.txt;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=7502085895afe77af48cfd55f1ddbf89c3c48353;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/tools/CMakeLists.txt b/src/ceph/src/tools/CMakeLists.txt deleted file mode 100644 index 7502085..0000000 --- a/src/ceph/src/tools/CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ -set(rados_srcs - rados/rados.cc - RadosDump.cc - rados/RadosImport.cc - rados/PoolDump.cc - ${PROJECT_SOURCE_DIR}/src/common/util.cc - ${PROJECT_SOURCE_DIR}/src/common/obj_bencher.cc) -add_executable(rados ${rados_srcs}) -target_link_libraries(rados librados global ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} radosstriper) -install(TARGETS rados DESTINATION bin) - -if(WITH_TESTS) -add_executable(ceph_scratchtool scratchtool.c) -target_link_libraries(ceph_scratchtool librados global) -install(TARGETS ceph_scratchtool DESTINATION bin) - -add_executable(ceph_scratchtoolpp scratchtoolpp.cc) -target_link_libraries(ceph_scratchtoolpp librados global) -install(TARGETS ceph_scratchtoolpp DESTINATION bin) - -add_executable(ceph_radosacl radosacl.cc) -target_link_libraries(ceph_radosacl librados global) -install(TARGETS ceph_radosacl DESTINATION bin) - -add_executable(ceph-osdomap-tool ceph_osdomap_tool.cc) -target_link_libraries(ceph-osdomap-tool os global Boost::program_options) -install(TARGETS ceph-osdomap-tool DESTINATION bin) - -add_executable(ceph-monstore-tool - ceph_monstore_tool.cc - ../mgr/mgr_commands.cc) -target_link_libraries(ceph-monstore-tool os global Boost::program_options) -install(TARGETS ceph-monstore-tool DESTINATION bin) -install(PROGRAMS - ceph-monstore-update-crush.sh - DESTINATION ${CMAKE_INSTALL_LIBDIR}/ceph) -endif(WITH_TESTS) - -add_executable(ceph-objectstore-tool - ceph_objectstore_tool.cc - rebuild_mondb.cc - RadosDump.cc) -target_link_libraries(ceph-objectstore-tool osd os global Boost::program_options ${CMAKE_DL_LIBS}) -if(WITH_FUSE) - target_link_libraries(ceph-objectstore-tool fuse) -endif(WITH_FUSE) -install(TARGETS ceph-objectstore-tool DESTINATION bin) - -if(WITH_LIBCEPHFS) -if(WITH_TESTS) - add_executable(ceph-client-debug ceph-client-debug.cc) - target_link_libraries(ceph-client-debug cephfs global client) - install(TARGETS ceph-client-debug DESTINATION bin) -endif(WITH_TESTS) -endif(WITH_LIBCEPHFS) - -if(WITH_TESTS) -add_executable(ceph-kvstore-tool ceph_kvstore_tool.cc) -target_link_libraries(ceph-kvstore-tool os global) -install(TARGETS ceph-kvstore-tool DESTINATION bin) -endif(WITH_TESTS) - -set(ceph_conf_srcs ceph_conf.cc) -add_executable(ceph-conf ${ceph_conf_srcs}) -target_link_libraries(ceph-conf global) -install(TARGETS ceph-conf DESTINATION bin) - -set(crushtool_srcs crushtool.cc) -add_executable(crushtool ${crushtool_srcs}) -target_link_libraries(crushtool global) -install(TARGETS crushtool DESTINATION bin) - -set(monmaptool_srcs monmaptool.cc) -add_executable(monmaptool ${monmaptool_srcs}) -target_link_libraries(monmaptool global) -install(TARGETS monmaptool DESTINATION bin) - -set(osdomaptool_srcs osdmaptool.cc) -add_executable(osdmaptool ${osdomaptool_srcs}) -target_link_libraries(osdmaptool global) -install(TARGETS osdmaptool DESTINATION bin) - -if(WITH_TESTS) -set(ceph_psim_srcs psim.cc) -add_executable(ceph_psim ${ceph_psim_srcs}) -target_link_libraries(ceph_psim global) -install(TARGETS ceph_psim DESTINATION bin) -endif(WITH_TESTS) - -set(ceph_authtool_srcs ceph_authtool.cc) -add_executable(ceph-authtool ${ceph_authtool_srcs}) -target_link_libraries(ceph-authtool global ${EXTRALIBS} ${CRYPTO_LIBS}) -install(TARGETS ceph-authtool DESTINATION bin) - -if(WITH_CEPHFS) - add_subdirectory(cephfs) -endif(WITH_CEPHFS) - -if(WITH_RBD) - add_subdirectory(rbd) - add_subdirectory(rbd_mirror) - if(LINUX) - add_subdirectory(rbd_nbd) - endif() - if(FREEBSD) - add_subdirectory(rbd_ggate) - endif() -endif(WITH_RBD)