Files
ternfs-XTXMarkets/cpp/cdc/CMakeLists.txt
Francesco Mazzoli 2ad278adaa Add ubuntu image to build, use jemalloc in release build
I want to use the introspection capabilities of jemalloc, and it
should also be much faster. Preserve alpine build for go build,
it's also really useful to test inside the kmod.
2023-11-13 15:44:55 +00:00

8 lines
396 B
CMake

include_directories(${eggsfs_SOURCE_DIR}/core ${eggsfs_SOURCE_DIR}/shard ${eggsfs_SOURCE_DIR}/wyhash)
add_library(cdc CDC.cpp CDC.hpp CDCDB.cpp CDCDB.hpp CDCDBData.hpp)
target_link_libraries(cdc PRIVATE core)
add_executable(eggscdc eggscdc.cpp)
target_link_libraries(eggscdc PRIVATE core shard cdc ${EGGSFS_JEMALLOC_LIBS})
target_include_directories(eggscdc PRIVATE ${eggsfs_SOURCE_DIR}/wyhash)