mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 10:14:36 +02:00
13 lines
347 B
CMake
13 lines
347 B
CMake
file(GLOB SOURCES
|
|
src/*.cpp)
|
|
|
|
add_library(core-buffer STATIC ${SOURCES})
|
|
target_include_directories(core-buffer PUBLIC include/)
|
|
target_include_directories(core-buffer PUBLIC external/)
|
|
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
target_compile_definitions(core-buffer PRIVATE DEBUG_OUTPUT)
|
|
endif()
|
|
|
|
enable_testing()
|
|
add_subdirectory(test/) |