2 ${CMAKE_SOURCE_DIR}/src/ceph_mgr.cc
3 ${CMAKE_SOURCE_DIR}/src/mon/PGMap.cc
7 BaseMgrStandbyModule.cc
9 DaemonHealthMetricCollector.cc
16 OSDPerfMetricCollector.cc
24 add_executable(ceph-mgr ${mgr_srcs})
25 target_include_directories(ceph-mgr SYSTEM PRIVATE "${PYTHON_INCLUDE_DIRS}")
26 target_link_libraries(ceph-mgr
27 osdc client heap_profiler
28 global-static ceph-common
29 Boost::python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR}
30 ${MGR_PYTHON_LIBRARIES} ${CMAKE_DL_LIBS} ${GSSAPI_LIBRARIES})
31 set_target_properties(ceph-mgr PROPERTIES
32 POSITION_INDEPENDENT_CODE ${EXE_LINKER_USE_PIE})
33 install(TARGETS ceph-mgr DESTINATION bin)