Skip to content

Commit

Permalink
Merge pull request ceph#9904 from cbodley/wip-cmake-vstart
Browse files Browse the repository at this point in the history
cmake: add radosgw to 'make vstart' target

Reviewed-by: Ali Maredia <[email protected]>
  • Loading branch information
alimaredia authored Jun 23, 2016
2 parents 463a78c + d3d0a11 commit f534862
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1472,6 +1472,10 @@ if(${WITH_RADOSGW})
cls_version_client cls_replica_log_client cls_user_client
curl expat global fcgi resolv ${OPENSSL_LIBRARIES} ${BLKID_LIBRARIES} ${OPENLDAP_LIBS}
${ALLOC_LIBS})
# radosgw depends on cls libraries at runtime, but not as link dependencies
add_dependencies(radosgw cls_rgw cls_lock cls_refcount
cls_log cls_statelog cls_timeindex
cls_version cls_replica_log cls_user)
install(TARGETS radosgw DESTINATION bin)

add_executable(radosgw-admin ${radosgw_admin_srcs})
Expand Down Expand Up @@ -1518,12 +1522,17 @@ add_subdirectory(brag)
add_custom_target(vstart DEPENDS
ceph-osd
ceph-mon
ceph-mds
ceph-authtool
ceph-conf
monmaptool
crushtool
cython_rados)
if(WITH_MDS)
add_dependencies(vstart ceph-mds)
endif(WITH_MDS)
if(WITH_RADOSGW)
add_dependencies(vstart radosgw radosgw-admin)
endif(WITH_RADOSGW)

# Everything you need to run CephFS tests
add_custom_target(cephfs_testing DEPENDS
Expand Down

0 comments on commit f534862

Please sign in to comment.