]>
Commit | Line | Data |
---|---|---|
92f5a8d4 TL |
1 | add_library(mgr_cap_obj OBJECT |
2 | MgrCap.cc) | |
3 | ||
9f95a23c TL |
4 | if(WITH_MGR) |
5 | set(mgr_srcs | |
6 | ${CMAKE_SOURCE_DIR}/src/ceph_mgr.cc | |
7 | ${CMAKE_SOURCE_DIR}/src/mon/PGMap.cc | |
f67539c2 | 8 | ${CMAKE_SOURCE_DIR}/src/mon/ConfigMap.cc |
9f95a23c TL |
9 | ActivePyModule.cc |
10 | ActivePyModules.cc | |
11 | BaseMgrModule.cc | |
12 | BaseMgrStandbyModule.cc | |
13 | ClusterState.cc | |
14 | DaemonHealthMetricCollector.cc | |
15 | DaemonKey.cc | |
16 | DaemonServer.cc | |
17 | DaemonState.cc | |
18 | Gil.cc | |
19 | Mgr.cc | |
20 | MgrStandby.cc | |
21 | MetricCollector.cc | |
22 | OSDPerfMetricTypes.cc | |
23 | OSDPerfMetricCollector.cc | |
f67539c2 TL |
24 | MDSPerfMetricTypes.cc |
25 | MDSPerfMetricCollector.cc | |
9f95a23c TL |
26 | PyFormatter.cc |
27 | PyUtil.cc | |
28 | PyModule.cc | |
29 | PyModuleRegistry.cc | |
30 | PyModuleRunner.cc | |
31 | PyOSDMap.cc | |
32 | StandbyPyModules.cc | |
33 | mgr_commands.cc | |
34 | $<TARGET_OBJECTS:mgr_cap_obj>) | |
35 | add_executable(ceph-mgr ${mgr_srcs}) | |
36 | target_link_libraries(ceph-mgr | |
37 | osdc client heap_profiler | |
38 | global-static ceph-common | |
39 | Boost::python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR} | |
40 | Python3::Python ${CMAKE_DL_LIBS} ${GSSAPI_LIBRARIES}) | |
41 | set_target_properties(ceph-mgr PROPERTIES | |
42 | POSITION_INDEPENDENT_CODE ${EXE_LINKER_USE_PIE}) | |
43 | install(TARGETS ceph-mgr DESTINATION bin) | |
44 | endif() |