From a4c6b9ab789bb95b39b0ae2eb89ceb8d8b920fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20von=20Haller?= Date: Thu, 29 Apr 2021 08:55:11 +0200 Subject: [PATCH] [QC-576] New naming scheme in CPV module (#686) --- Modules/CPV/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Modules/CPV/CMakeLists.txt b/Modules/CPV/CMakeLists.txt index bc2efb053e..5a2967607c 100644 --- a/Modules/CPV/CMakeLists.txt +++ b/Modules/CPV/CMakeLists.txt @@ -1,28 +1,28 @@ # ---- Library ---- -add_library(QcCPV) +add_library(O2QcCPV) -target_sources(QcCPV PRIVATE src/PedestalCheck.cxx src/PedestalTask.cxx ) +target_sources(O2QcCPV PRIVATE src/PedestalCheck.cxx src/PedestalTask.cxx ) target_include_directories( - QcCPV + O2QcCPV PUBLIC $ $ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) -target_link_libraries(QcCPV PUBLIC O2QualityControl O2::CPVBase ROOT::Spectrum) +target_link_libraries(O2QcCPV PUBLIC O2QualityControl O2::CPVBase ROOT::Spectrum) -install(TARGETS QcCPV +install(TARGETS O2QcCPV LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -add_root_dictionary(QcCPV +add_root_dictionary(O2QcCPV HEADERS include/CPV/PedestalCheck.h include/CPV/PedestalTask.h LINKDEF include/CPV/LinkDef.h - BASENAME QcCPV) + BASENAME O2QcCPV) # ---- Test(s) ---- @@ -34,7 +34,7 @@ foreach(test ${TEST_SRCS}) add_executable(${test_name} ${test}) target_link_libraries(${test_name} - PRIVATE QcCPV Boost::unit_test_framework) + PRIVATE O2QcCPV Boost::unit_test_framework) add_test(NAME ${test_name} COMMAND ${test_name}) set_property(TARGET ${test_name} PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/tests)