mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-07 19:12:03 +02:00
19 lines
440 B
CMake
19 lines
440 B
CMake
add_subdirectory(external/)
|
|
|
|
file(GLOB SOURCES
|
|
src/*.cpp
|
|
src/writer/*.cpp
|
|
src/receiver/*.cpp
|
|
src/module/*.cpp)
|
|
|
|
add_library(core-writer STATIC ${SOURCES})
|
|
include_directories(core-writer external/)
|
|
|
|
target_include_directories(core-writer PUBLIC include/)
|
|
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
target_compile_definitions(core-writer PRIVATE DEBUG_OUTPUT)
|
|
endif()
|
|
|
|
enable_testing()
|
|
add_subdirectory(test/) |