# Copyright 2019-2020 CERN and copyright holders of ALICE O2.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
#
# This software is distributed under the terms of the GNU General Public
# License v3 (GPL Version 3), copied verbatim in the file "COPYING".
#
# In applying this license 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.

o2_add_library(ITSWorkflow
               SOURCES src/RecoWorkflow.cxx
                       src/ClusterWriterWorkflow.cxx
                       src/ClustererSpec.cxx
                       src/ClusterWriterSpec.cxx
                       src/TrackerSpec.cxx
                       src/CookedTrackerSpec.cxx
                       src/TrackWriterSpec.cxx
                       src/IRFrameWriterSpec.cxx
                       src/IRFrameReaderSpec.cxx
                       src/TrackReaderSpec.cxx
                       src/VertexReaderSpec.cxx
         PUBLIC_LINK_LIBRARIES O2::Framework
                                     O2::SimConfig
                                     O2::DataFormatsITS
                                     O2::SimulationDataFormat
                                     O2::ITStracking
                                     O2::ITSReconstruction
                                     O2::ITSMFTReconstruction
                                     O2::ITSMFTWorkflow
                                     O2::GPUTracking)

o2_add_executable(reco-workflow
                  SOURCES src/its-reco-workflow.cxx
                  COMPONENT_NAME its
                  PUBLIC_LINK_LIBRARIES O2::ITSWorkflow)

o2_add_executable(cluster-writer-workflow
                  SOURCES src/its-cluster-writer-workflow.cxx
                  COMPONENT_NAME its
                  PUBLIC_LINK_LIBRARIES O2::ITSWorkflow)

o2_add_executable(cluster-reader-workflow
                  SOURCES src/its-cluster-reader-workflow.cxx
                  COMPONENT_NAME its
                  PUBLIC_LINK_LIBRARIES O2::ITSWorkflow)

