1 # **************************************************************************
2 # * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4 # * Author: The ALICE Off-line Project. *
5 # * Contributors are mentioned in the code where appropriate. *
7 # * Permission to use, copy, modify and distribute this software and its *
8 # * documentation strictly for non-commercial purposes is hereby granted *
9 # * without fee, provided that the above copyright notice appears in all *
10 # * copies and that both the copyright notice and this permission notice *
11 # * appear in the supporting documentation. The authors make no claims *
12 # * about the suitability of this software for any purpose. It is *
13 # * provided "as is" without express or implied warranty. *
14 # **************************************************************************
16 option(HLT_CUDA "Build HLT GPU tracker using CUDA" OFF)
17 option(HLT_OPENCL "Build HLT GPU tracker using OpenCL" OFF)
19 add_definitions(-Duse_aliroot -DUSE_ROOT -DROWHOUGHPARAMS)
23 add_definitions(-DDEBUG -D__DEBUG)
25 add_definitions(-DNDEBUG)
30 add_definitions(-Duse_logging)
31 include_directories(${ALIHLT_MLUCDIR}/include)
32 link_directories(${ALIHLT_MLUCDIR}/lib/tgt_${ALICE_TARGET})
33 endif (ALIHLT_MLUCDIR)
35 add_subdirectory(BASE)
36 add_subdirectory(CALO)
37 add_subdirectory(comp)
38 add_subdirectory(global)
39 add_subdirectory(EMCAL)
42 #add_subdirectory(FJWrapper) - not needed
43 add_subdirectory(MUON)
44 add_subdirectory(pendolino)
45 add_subdirectory(PHOS)
47 add_subdirectory(SampleLib)
48 add_subdirectory(TPCLib)
50 add_subdirectory(trigger)
51 add_subdirectory(VZERO)
53 # Enable EVE if ROOT has OpenGL support
59 add_subdirectory(shuttle)
62 include("CMakehltdoc.conf")
64 message(STATUS "HLT enabled")