Add dependencies between sampling and non-sampling actors projects
This commit is contained in:
parent
72f4ad5451
commit
2c5510011c
|
@ -191,6 +191,7 @@ target_link_libraries(fdbclient PUBLIC fdbrpc msgpack)
|
|||
add_flow_target(STATIC_LIBRARY NAME fdbclient_sampling SRCS ${FDBCLIENT_SRCS} ADDL_SRCS ${options_srcs})
|
||||
add_dependencies(fdbclient_sampling fdboptions fdb_c_options)
|
||||
target_link_libraries(fdbclient_sampling PUBLIC fdbrpc_sampling msgpack)
|
||||
add_dependencies(fdbclient_sampling_actors fdbclient_actors)
|
||||
target_compile_definitions(fdbclient_sampling PRIVATE -DENABLE_SAMPLING)
|
||||
|
||||
if(BUILD_AZURE_BACKUP)
|
||||
|
|
|
@ -70,6 +70,7 @@ add_flow_target(STATIC_LIBRARY NAME fdbrpc_sampling
|
|||
target_include_directories(fdbrpc_sampling PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/libeio)
|
||||
target_link_libraries(fdbrpc_sampling PUBLIC flow_sampling)
|
||||
target_compile_definitions(fdbrpc_sampling PRIVATE -DENABLE_SAMPLING)
|
||||
add_dependencies(fdbrpc_sampling_actors fdbrpc_actors)
|
||||
|
||||
if(COMPILE_EIO)
|
||||
add_library(eio STATIC libeio/eio.c)
|
||||
|
|
|
@ -129,6 +129,7 @@ target_link_libraries(flow PRIVATE stacktrace)
|
|||
add_flow_target(STATIC_LIBRARY NAME flow_sampling SRCS ${FLOW_SRCS})
|
||||
target_link_libraries(flow_sampling PRIVATE stacktrace)
|
||||
target_compile_definitions(flow_sampling PRIVATE -DENABLE_SAMPLING)
|
||||
add_dependencies(flow_sampling_actors flow_actors)
|
||||
|
||||
if (NOT APPLE AND NOT WIN32)
|
||||
set (FLOW_LIBS ${FLOW_LIBS} rt)
|
||||
|
|
Loading…
Reference in New Issue