slsReceiver: added an executable slsMultiReceiver to have the option to have one process create multiple child processes for multiple receivers with configurable tcp port and callback enable

This commit is contained in:
2018-07-06 16:26:29 +02:00
parent 260f237990
commit 45de361b22
4 changed files with 76 additions and 58 deletions

View File

@ -0,0 +1,17 @@
add_executable(slsMultiReceiver
mainReceiver.cpp
)
set_target_properties(slsMultiReceiver PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
)
target_link_libraries(slsMultiReceiver
slsReceiverShared
pthread
zmq
rt
)
install(TARGETS slsMultiReceiver
RUNTIME DESTINATION bin)