]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
CMake: add vstart convenience targets 6254/head
authorJohn Spray <john.spray@redhat.com>
Tue, 13 Oct 2015 19:38:58 +0000 (20:38 +0100)
committerJohn Spray <john.spray@redhat.com>
Wed, 14 Oct 2015 14:23:19 +0000 (15:23 +0100)
These are for developers like me, who want to
quickly build just the bits they need for
interactive vstart stuff, and don't wait for wait
for a full make.

Signed-off-by: John Spray <john.spray@redhat.com>
src/CMakeLists.txt

index 44cb4a43183aa71b640e162c84f76718400c7e46..6b7766e0664594e335f15230dec6cbed2dfdeaeb 100644 (file)
@@ -1012,3 +1012,24 @@ if(${WITH_RADOSGW})
     curl expat global fcgi resolv ${TCMALLOC_LIBS})
   install(TARGETS radosgw-object-expirer DESTINATION bin)
 endif(${WITH_RADOSGW})
+
+# Everything you need to spin up a cluster with vstart.sh
+add_custom_target(vstart DEPENDS
+    ceph-osd
+    ceph-mon
+    ceph-mds
+    ceph-authtool
+    ceph-conf
+    monmaptool
+    crushtool)
+
+# Everything you need to run CephFS tests
+add_custom_target(cephfs_testing DEPENDS
+    vstart
+    rados
+    ceph-fuse
+    ceph-dencoder
+    cephfs-journal-tool
+    cephfs-data-scan
+    cephfs-table-tool)
+