mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 23:24:35 +02:00
15 lines
376 B
CMake
15 lines
376 B
CMake
add_subdirectory(external/)
|
|
|
|
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/) |