Skip to content
Snippets Groups Projects
Forked from LHCb / Rec
1996 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
CMakeLists.txt 4.13 KiB
###############################################################################
# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration      #
#                                                                             #
# This software is distributed under the terms of the GNU General Public      #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
#                                                                             #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization  #
# or submit itself to any jurisdiction.                                       #
###############################################################################

cmake_minimum_required(VERSION 3.15)

project(Rec VERSION 35.3
        LANGUAGES CXX)

# Enable testing with CTest/CDash
include(CTest)

list(PREPEND CMAKE_MODULE_PATH
    ${PROJECT_SOURCE_DIR}/cmake
)

# Dependencies
set(WITH_Rec_PRIVATE_DEPENDENCIES TRUE)
include(RecDependencies)

# Silence an unavoidable warning from cling
# see https://gitlab.cern.ch/lhcb/Rec/-/merge_requests/2342
if(ROOT_VERSION MATCHES "^6\\.2[2-4].*")
  set(REC_DICT_GEN_DEFAULT_OPTS  -Wno-unknown-attributes)
  message(STATUS "Generating dictionaries with additional flags: " ${REC_DICT_GEN_DEFAULT_OPTS})
endif()

# -- Subdirectories
lhcb_add_subdirectories(
    Tr/TrackFitEvent
    Tr/TrackInterfaces
    Tr/TrackKernel
    CaloFuture/CaloFutureMoniDst
    CaloFuture/CaloFuturePIDs
    CaloFuture/CaloFutureReco
    CaloFuture/CaloFutureTools
    FT/FTMonitors
    MicroDST/MicroDSTAlgorithm
    MicroDST/MicroDSTBase
    MicroDST/MicroDSTConf
    MicroDST/MicroDSTInterfaces
    MicroDST/MicroDSTTools
    Muon/MuonInterfaces
    Muon/MuonTrackRec
    Muon/MuonID
    Pr/PrKernel
    Muon/MuonMatch
    Muon/MuonPIDChecker
    Muon/MuonTools
    Muon/MuonMonitors
    Tr/TrackCheckers
    Tr/TrackExtrapolators
    Tr/TrackFitter
    Tr/TrackMCTools
    Tr/TrackMonitors
    Tr/TrackProjectors
    Tr/TrackTools
    Phys/SelKernel
    Tr/TrackUtils
    Tf/TrackSys
    Muon/MuonTrackMonitor
    Phys/SelTools
    Phys/FunctorCore
    Phys/SelAlgorithms
    Phys/DaVinciFilters
    Phys/DaVinciInterfaces
    Phys/DaVinciKernel
    Phys/DaVinciMCKernel
    Phys/DaVinciNeutralTools
    Phys/DaVinciOverlapsAndClones
    Phys/DaVinciPVTools
    Phys/DaVinciTools
    Phys/DaVinciTransporter
    Phys/DaVinciTypes
    Phys/DecayTreeFitter
    Phys/ExtraInfoTools
    Phys/FlavourTagging
    Phys/FunctionalFlavourTagging
    Phys/GenericVertexFinder
    Phys/HighPtJets
    Phys/JetAccessories
    Phys/KalmanFilter
    Phys/keras
    Phys/LoKi
    Phys/LoKiAlgo
    Phys/LoKiArrayFunctors
    Phys/LoKiFitters
    Phys/LoKiPhys
    Phys/LoKiPhysMC
    Phys/LoKiProtoParticles
    Phys/LoKiUtils
    Phys/lwtnnParser
    Phys/MCAssociation
    Phys/MVADictTools
    Phys/ParticleCombiners
    Phys/ParticleConverters
    Phys/ParticleMaker
    Phys/PhysConf
    Phys/ProtoParticleFilter
    Phys/RelatedInfoTools
    Phys/SelPy
    Phys/TisTosTobbing
    Phys/VertexFit
    PhysSel/PhysSelPython
    Pr/PrAlgorithms
    Pr/PrConverters
    Pr/PrFitParams
    Pr/PrMCTools
    Pr/PrPixel
    Pr/PrVPRetina
    Pr/PrVeloUT
    Pr/SciFiTrackForwarding
    Rec/RecInterfaces
    Rec/ChargedProtoANNPID
    Rec/GlobalReco
    Rec/GlobalRecoMCTools
    Rec/RecAlgs
    Rich/RichRecUtils
    Rich/RichFutureRecEvent
    Rich/RichFutureRecBase
    Rich/RichFutureRecPixelAlgorithms
    Rich/RichFutureRecTrackAlgorithms
    Rich/RichFutureRecPhotonAlgorithms
    Rich/RichFutureRecAlgorithms
    Rich/RichFutureRecInterfaces
    Rich/RichFutureRecTools
    Rich/RichFutureGlobalPID
    Rich/RichFutureRecSys
    Rich/RichFutureRecMonitors
    Rich/RichFutureRecCheckers
    Tr/PatChecker
    Tr/PatFitParams
    Tr/PatPV
    Rec/RecConf
    Tf/FastPV
    Tr/ParameterizedKalman
    Tr/PrKalmanFilter
    Tr/TrackAssociators
    Plume/PlumeReco
    Rich/RichRecTests
    Phys/FunctorCache
    Vis/PhoenixAlgs
)

gaudi_install(CMAKE
    # helpers to find external projects
    cmake/FindFastJet.cmake
    cmake/FindXGBoost.cmake
)

lhcb_finalize_configuration()