blob: 429748909bebd97ad16ac30e214341ebe566bebe [file] [log] [blame]
# where to put generated libraries
set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/common")
# where to put generated binaries
set(EXECUTABLE_OUTPUT_PATH "${BUILD_DIR}/src/common")
set(COMMON_FILES
configbase.cpp
util.cpp
logging.cpp
bvars.cpp
encryption_util.cpp
metric.cpp
kms.cpp
network_util.cpp
)
if (USE_JEMALLOC)
set(COMMON_FILES ${COMMON_FILES}
jemalloc_hook.cpp
)
endif()
add_library(Common STATIC
${COMMON_FILES}
)