From 857e3f54ad3a8b9b43965e947f4594f7bf50524f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Tich=C3=A1k?= Date: Fri, 11 Oct 2024 13:51:02 +0200 Subject: [PATCH] IL is a static library --- Framework/CMakeLists.txt | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/Framework/CMakeLists.txt b/Framework/CMakeLists.txt index f29c28da94..5f48077f10 100644 --- a/Framework/CMakeLists.txt +++ b/Framework/CMakeLists.txt @@ -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 + $ +) +target_link_libraries(O2QualityControlInfoLogger + PUBLIC + AliceO2::InfoLogger +) + +# ---- Library for the types ---- add_library(O2QualityControlTypes src/MonitorObject.cxx src/QualityObject.cxx @@ -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 @@ -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 @@ -143,7 +156,6 @@ target_link_libraries(O2QualityControl ROOT::Hist ROOT::TreePlayer AliceO2::Common - AliceO2::InfoLogger AliceO2::Monitoring AliceO2::Configuration AliceO2::Occ @@ -161,6 +173,7 @@ target_link_libraries(O2QualityControl ${RDKAFKA_LIB} PRIVATE Boost::system CURL::libcurl + O2QualityControlInfoLogger ) add_root_dictionary(O2QualityControl