forked from mcoquet642/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
38 lines (34 loc) · 1.62 KB
/
Copy pathCMakeLists.txt
File metadata and controls
38 lines (34 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright CERN and copyright holders of ALICE O2. This software is distributed
# under the terms of the GNU General Public License v3 (GPL Version 3), copied
# verbatim in the file "COPYING".
#
# See http://alice-o2.web.cern.ch/license for full licensing information.
#
# 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.
# FIXME: do we really need a library here ? Is the exe not enough ?
o2_add_library(TPCWorkflow
SOURCES src/RecoWorkflow.cxx
src/PublisherSpec.cxx
src/ClustererSpec.cxx
src/ClusterDecoderRawSpec.cxx
src/CATrackerSpec.cxx
src/TrackReaderSpec.cxx
TARGETVARNAME targetName
PUBLIC_LINK_LIBRARIES O2::Framework O2::DataFormatsTPC
O2::DPLUtils O2::TPCReconstruction)
o2_add_executable(reco-workflow
COMPONENT_NAME tpc
SOURCES src/tpc-reco-workflow.cxx
PUBLIC_LINK_LIBRARIES O2::TPCWorkflow)
o2_add_test(workflow
COMPONENT_NAME tpc
LABELS tpc workflow
SOURCES test/test_TPCWorkflow.cxx
PUBLIC_LINK_LIBRARIES O2::TPCWorkflow)
if(GPUCA_EVENT_DISPLAY OR
(OPENGL_FOUND AND GLFW_FOUND AND GLEW_FOUND AND OPENGL_GLU_FOUND
AND NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin"))
target_compile_definitions(${targetName} PRIVATE GPUCA_BUILD_EVENT_DISPLAY)
endif()