ceph_mon.cc
common/TextTable.cc)
add_executable(ceph-mon ${ceph_mon_srcs} $<TARGET_OBJECTS:heap_profiler_objs>)
+add_dependencies(ceph-mon erasure_code_plugins)
target_link_libraries(ceph-mon mon boost_thread common os global ${EXTRALIBS}
${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
install(TARGETS ceph-mon DESTINATION bin)
add_executable(ceph-osd ${ceph_osd_srcs}
$<TARGET_OBJECTS:heap_profiler_objs>
$<TARGET_OBJECTS:common_util_obj>)
+add_dependencies(ceph-osd erasure_code_plugins)
target_link_libraries(ceph-osd osd os global ${BLKID_LIBRARIES} ${TCMALLOC_LIBS})
install(TARGETS ceph-osd DESTINATION bin)
add_dependencies(erasure_code ${CMAKE_SOURCE_DIR}/src/ceph_ver.h)
add_library(erasure_code_objs OBJECT ErasureCode.cc)
+
+add_custom_target(erasure_code_plugins DEPENDS
+ ec_isa
+ ec_lrc
+ ec_jerasure_sse3
+ ec_jerasure_sse4
+ ec_jerasure)