mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 09:20:45 +02:00
Split file to external and core
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
file(GLOB SOURCES
|
||||
src/*.cpp
|
||||
src/compression/*.cpp
|
||||
src/compression/*.c)
|
||||
add_subdirectory(external/)
|
||||
|
||||
file(GLOB SOURCES src/*.cpp)
|
||||
|
||||
add_library(core-writer STATIC ${SOURCES})
|
||||
include_directories(core-writer external/)
|
||||
|
||||
target_include_directories(core-writer PUBLIC
|
||||
src/
|
||||
src/compression)
|
||||
target_include_directories(core-writer PUBLIC src/)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
target_compile_definitions(core-writer PRIVATE DEBUG_OUTPUT)
|
||||
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
file(GLOB SOURCES bitshuffle/*.c)
|
||||
|
||||
add_library(external STATIC ${SOURCES})
|
||||
target_include_directories(external PUBLIC .)
|
||||
include_directories(/usr/include)
|
||||
Reference in New Issue
Block a user