summaryrefslogtreecommitdiffstats
path: root/src/test/cls_lock
diff options
context:
space:
mode:
authorAli Maredia <amaredia@redhat.com>2016-02-01 23:48:16 +0100
committerAli Maredia <amaredia@redhat.com>2016-04-15 02:48:20 +0200
commit0e851dec9f5e708bb7c797d4db1d643a52b140fe (patch)
tree7fcf29b9c2bc6b7fd933e50d0ed93428e41a51d6 /src/test/cls_lock
parentcmake: moved tests into test/cls_hello dir (diff)
downloadceph-0e851dec9f5e708bb7c797d4db1d643a52b140fe.tar.xz
ceph-0e851dec9f5e708bb7c797d4db1d643a52b140fe.zip
cmake: moved tests into test/cls_lock dir
Added a CMakeLists.txt into test/cls_lock. Signed-off-by: Ali Maredia <amaredia@redhat.com>
Diffstat (limited to 'src/test/cls_lock')
-rw-r--r--src/test/cls_lock/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/cls_lock/CMakeLists.txt b/src/test/cls_lock/CMakeLists.txt
new file mode 100644
index 00000000000..c2544915fc7
--- /dev/null
+++ b/src/test/cls_lock/CMakeLists.txt
@@ -0,0 +1,17 @@
+add_executable(ceph_test_cls_lock
+ test_cls_lock.cc
+ )
+set_target_properties(ceph_test_cls_lock PROPERTIES COMPILE_FLAGS
+ ${UNITTEST_CXX_FLAGS})
+target_link_libraries(ceph_test_cls_lock
+ cls_lock
+ librados
+ global
+ ${UNITTEST_LIBS}
+ ${BLKID_LIBRARIES}
+ ${CMAKE_DL_LIBS}
+ ${CRYPTO_LIBS}
+ ${EXTRALIBS}
+ radostest
+ )
+