]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/libcephd/CMakeLists.txt
bump version to 12.2.7-pve1
[ceph.git] / ceph / src / test / libcephd / CMakeLists.txt
1 # cephdtest
2 set(cephdtest_srcs
3 test.cc)
4 add_library(cephdtest STATIC ${cephdtest_srcs})
5 set_target_properties(cephdtest PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS})
6
7 #Enable spdk
8 if(HAVE_SPDK)
9 link_directories("${CMAKE_SOURCE_DIR}/src/spdk/build/lib/")
10 endif(HAVE_SPDK)
11
12 # ceph_test_cephd_api_misc
13 add_executable(ceph_test_cephd_api_misc
14 misc.cc
15 )
16 set_target_properties(ceph_test_cephd_api_misc PROPERTIES COMPILE_FLAGS
17 ${UNITTEST_CXX_FLAGS})
18 target_link_libraries(ceph_test_cephd_api_misc
19 cephd global ${UNITTEST_LIBS} cephdtest z snappy ceph_zstd)
20
21 install(TARGETS
22 ceph_test_cephd_api_misc
23 DESTINATION ${CMAKE_INSTALL_BINDIR})