]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: define FMT_HEADER_ONLY using CMakeLists.txt
authorKefu Chai <tchaikov@gmail.com>
Thu, 8 Dec 2022 04:38:07 +0000 (12:38 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 10 Dec 2022 01:58:04 +0000 (09:58 +0800)
commita0e15910630926d45bd2498c0c5ce917318a9f56
treef785aeab97df5750aa8ffc4f8d4e01d3c9ce912f
parentff7a7386c1f5d8ce0edb1fb4342951fb5b97e5db
rgw: define FMT_HEADER_ONLY using CMakeLists.txt

less repeatings this way. and the macro definition can be populated
to the targets linking against `rgw_common`. this is more maintainable,
as rgw executables and libraries always link against `rgw_common`.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
13 files changed:
src/rgw/CMakeLists.txt
src/rgw/driver/dbstore/common/dbstore.h
src/rgw/driver/dbstore/config/sqlite.cc
src/rgw/driver/dbstore/config/store.cc
src/rgw/driver/dbstore/sqlite/connection.h
src/rgw/driver/rados/cls_fifo_legacy.cc
src/rgw/driver/rados/cls_fifo_legacy.h
src/rgw/driver/rados/rgw_data_sync.h
src/rgw/driver/rados/rgw_datalog.h
src/rgw/driver/rados/rgw_log_backing.h
src/rgw/rgw_admin.cc
src/rgw/rgw_common.h
src/rgw/rgw_lc.cc