]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: link ceph-{mds,mgr,mon,osd} against libcommon
authorKefu Chai <kchai@redhat.com>
Fri, 13 Jan 2017 07:41:15 +0000 (15:41 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 20 Jan 2017 09:56:28 +0000 (17:56 +0800)
commit4ea38df656b2aad9398fcb1656c294f5b8366811
tree1c009e71452226b3fde72bb95d9cba0439ea1f37
parent77a7a1ebb4f626668637e8ea5d0f7e90f4d862bf
cmake: link ceph-{mds,mgr,mon,osd} against libcommon

add a static library named global-static, which does not link with
libceph-common. so the executables which does not link against
lib{rados,cephfs,rbd} can be linked against global-static instead if
they want to access the symbols previously available from libglobal.
and libglobal is now linked against libceph-common. and it is supposed
to be used by executables packaged by ceph-test. these exectuables can
safely depend on libceph-common offered by package of "librados2".

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/CMakeLists.txt
src/global/CMakeLists.txt
src/mds/CMakeLists.txt