Skip to content

Commit

Permalink
IL is a static library
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Tichák committed Oct 11, 2024
1 parent c864bae commit 857e3f5
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions Framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,22 @@ configure_file("include/QualityControl/Version.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/include/QualityControl/Version.h"
@ONLY)

# ---- Library for the types ----
# ---- Library for IL ----
add_library(O2QualityControlInfoLogger STATIC
src/QcInfoLogger.cxx
)

target_include_directories(O2QualityControlInfoLogger
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
)

target_link_libraries(O2QualityControlInfoLogger
PUBLIC
AliceO2::InfoLogger
)

# ---- Library for the types ----
add_library(O2QualityControlTypes
src/MonitorObject.cxx
src/QualityObject.cxx
Expand All @@ -21,13 +35,13 @@ target_include_directories(
)

target_link_libraries(O2QualityControlTypes
PRIVATE
O2QualityControlInfoLogger
PUBLIC
AliceO2::BookkeepingApi
AliceO2::Common
AliceO2::InfoLogger
O2::DataFormatsQualityControl
ROOT::Hist

)

add_root_dictionary(O2QualityControlTypes
Expand Down Expand Up @@ -72,7 +86,6 @@ add_library(O2QualityControl
src/AggregatorInterface.cxx
src/DatabaseFactory.cxx
src/CcdbDatabase.cxx
src/QcInfoLogger.cxx
src/TaskFactory.cxx
src/TaskRunner.cxx
src/TaskRunnerFactory.cxx
Expand Down Expand Up @@ -143,7 +156,6 @@ target_link_libraries(O2QualityControl
ROOT::Hist
ROOT::TreePlayer
AliceO2::Common
AliceO2::InfoLogger
AliceO2::Monitoring
AliceO2::Configuration
AliceO2::Occ
Expand All @@ -161,6 +173,7 @@ target_link_libraries(O2QualityControl
${RDKAFKA_LIB}
PRIVATE Boost::system
CURL::libcurl
O2QualityControlInfoLogger
)

add_root_dictionary(O2QualityControl
Expand Down

0 comments on commit 857e3f5

Please sign in to comment.