]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: move ContextCompletion.cc into rbd_internal
authorKefu Chai <kchai@redhat.com>
Wed, 9 Nov 2016 05:11:13 +0000 (13:11 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 14 Nov 2016 10:38:55 +0000 (18:38 +0800)
commit9f8a311ceddd66fca45b143fcba53d58dddff899
treea517d777d90bce656ab163ce51266f1c0f258150
parent89d6091535053eceb32c53fc60c9ef28f1907ead
cmake: move ContextCompletion.cc into rbd_internal

- ContextCompletion.cc is used by TrimRequest.cc which is included by
  rbd_internal, it's more natural to put ContextCompletion.cc into
  rbd_internal also. as rbd_internal is the only consumer of this
  translation unit.
- librbd/internal.cc is not referencing any symbols from util.cc, so
  remove this include. and also, do not add
  $<TARGET_OBJECTS:common_util_obj> to librbd.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/librbd/CMakeLists.txt
src/librbd/internal.cc
src/test/librbd/CMakeLists.txt
src/test/rbd_mirror/CMakeLists.txt
src/tools/rbd_mirror/CMakeLists.txt