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