set(libglobal_srcs global_init.cc pidfile.cc signal_handler.cc) set(global_common_files global_context.cc) add_library(global_common_objs OBJECT ${global_common_files}) add_library(libglobal_objs OBJECT ${libglobal_srcs}) add_library(global-static STATIC $ $) target_link_libraries(global-static common) add_library(global STATIC $ $) target_link_libraries(global ceph-common ${EXTRALIBS})