diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/test/mon/CMakeLists.txt | |
parent | Initial commit. (diff) | |
download | ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/mon/CMakeLists.txt')
-rw-r--r-- | src/test/mon/CMakeLists.txt | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/src/test/mon/CMakeLists.txt b/src/test/mon/CMakeLists.txt new file mode 100644 index 00000000..1f4e3db9 --- /dev/null +++ b/src/test/mon/CMakeLists.txt @@ -0,0 +1,72 @@ +# ceph_test_mon_workloadgen +add_executable(ceph_test_mon_workloadgen + test_mon_workloadgen.cc + ) +target_link_libraries(ceph_test_mon_workloadgen + os + osdc + global + ${EXTRALIBS} + ${CMAKE_DL_LIBS} + ) +install(TARGETS ceph_test_mon_workloadgen + DESTINATION ${CMAKE_INSTALL_BINDIR}) + +# ceph_test_mon_msg +add_executable(ceph_test_mon_msg + test-mon-msg.cc + ) +target_link_libraries(ceph_test_mon_msg os osdc global ${UNITTEST_LIBS}) + +# unittest_mon_moncap +add_executable(unittest_mon_moncap + moncap.cc + ) +add_ceph_unittest(unittest_mon_moncap) +target_link_libraries(unittest_mon_moncap mon global) + +# unittest_mon_map +add_executable(unittest_mon_monmap + MonMap.cc + ) +add_ceph_unittest(unittest_mon_monmap) +target_link_libraries(unittest_mon_monmap mon global) + +# unittest_mon_pgmap +add_executable(unittest_mon_pgmap + PGMap.cc + $<TARGET_OBJECTS:unit-main> + ) +add_ceph_unittest(unittest_mon_pgmap) +target_link_libraries(unittest_mon_pgmap mon global) + +# unittest_mon_montypes +add_executable(unittest_mon_montypes + test_mon_types.cc + ) +add_ceph_unittest(unittest_mon_montypes) +target_link_libraries(unittest_mon_montypes mon global) + +# ceph_test_mon_memory_target +add_executable(ceph_test_mon_memory_target + test_mon_memory_target.cc + ) +target_link_libraries(ceph_test_mon_memory_target ${UNITTEST_LIBS} Boost::system) +install(TARGETS ceph_test_mon_memory_target + DESTINATION ${CMAKE_INSTALL_BINDIR}) + +# ceph_test_mon_log_rss_usage +add_executable(ceph_test_log_rss_usage + test_log_rss_usage.cc + ) +target_link_libraries(ceph_test_log_rss_usage ${UNITTEST_LIBS}) +install(TARGETS ceph_test_log_rss_usage + DESTINATION ${CMAKE_INSTALL_BINDIR}) + +# ceph_test_mon_rss_usage +add_executable(ceph_test_mon_rss_usage + test_mon_rss_usage.cc + ) +target_link_libraries(ceph_test_mon_rss_usage ${UNITTEST_LIBS}) +install(TARGETS ceph_test_mon_rss_usage + DESTINATION ${CMAKE_INSTALL_BINDIR}) |