mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-01 07:42:22 +02:00
19 lines
492 B
CMake
19 lines
492 B
CMake
file(GLOB SOURCES
|
|
src/*.cpp)
|
|
|
|
add_library(std-stream-send-lib STATIC ${SOURCES})
|
|
target_include_directories(std-stream-send-lib PUBLIC include/)
|
|
target_link_libraries(std-stream-send-lib
|
|
core-buffer-lib)
|
|
|
|
add_executable(std-stream-send src/main.cpp)
|
|
set_target_properties(std-stream-send PROPERTIES OUTPUT_NAME std_stream_send)
|
|
target_link_libraries(std-stream-send
|
|
std-stream-send-lib
|
|
zmq
|
|
pthread
|
|
rt)
|
|
|
|
enable_testing()
|
|
add_subdirectory(test/)
|