mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-08 05:22:04 +02:00
19 lines
450 B
CMake
19 lines
450 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
|
|
sf-stream-lib
|
|
zmq
|
|
pthread)
|
|
|
|
enable_testing()
|
|
add_subdirectory(test/)
|