Commit 2efee564 authored by Administrator's avatar Administrator Committed by Florian Uhlig
Browse files

Add new CbmOnlineData library

The new library currently only contains a ROOT free version of CbmStsDigi.
The code is still in core/data/sts. The class CbmStsDigi is currently compiled
twice. Once with ROOT dictionary an streamer in libCbmData and once without
any ROOT dependency in libCbmOnlineData. refs #2258
parent 9e5f6bb4
......@@ -382,6 +382,7 @@ endif()
add_subdirectory (external)
### Base directories
add_subdirectory (algo)
add_subdirectory (core)
add_subdirectory (sim)
add_subdirectory (reco)
......
add_subdirectory (data)
# Create a library called "libCbmOnlineData" which includes the source files given in
# the array .
# The extension is already found. Any number of sources could be listed here.
set(INCLUDE_DIRECTORIES
${CMAKE_SOURCE_DIR}/core/data
${CMAKE_SOURCE_DIR}/core/data/sts
)
include_directories(${INCLUDE_DIRECTORIES})
set(SYSTEM_INCLUDE_DIRECTORIES
${Boost_INCLUDE_DIR}
)
include_directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})
set(SRCS
${CMAKE_SOURCE_DIR}/core/data/sts/CbmStsDigi.cxx
)
ADD_DEFINITIONS(-DNO_ROOT)
#---Create a shared library with geneated dictionary
add_library(OnlineData SHARED ${SRCS})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment