AliHLTMUON module
[u/mrichter/AliRoot.git] / HLT / CMakeLists.txt
CommitLineData
116e4267 1# **************************************************************************
2# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
3# * *
4# * Author: The ALICE Off-line Project. *
5# * Contributors are mentioned in the code where appropriate. *
6# * *
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# **************************************************************************
6d839a5c 15
c6ac942a 16option(HLT_CUDA "Build HLT GPU tracker using CUDA" OFF)
17option(HLT_OPENCL "Build HLT GPU tracker using OpenCL" OFF)
18
aac9c09b 19add_definitions(-Duse_aliroot -Duse_root -DROWHOUGHPARAMS)
20
116e4267 21# AliRoot debug mode
22if(ALIDEBUG)
23 add_definitions(-DDEBUG -D__DEBUG)
24else()
25 add_definitions(-DNDEBUG)
26endif (ALIDEBUG)
27
28# MLUC
29if(ALIHLT_MLUCDIR)
30 add_definitions(-Duse_logging)
31 include_directories(${ALIHLT_MLUCDIR}/include)
32 link_directories(${ALIHLT_MLUCDIR}/lib/tgt_${ALICE_TARGET})
33endif (ALIHLT_MLUCDIR)
34
8bb711ff 35add_subdirectory(BASE)
116e4267 36add_subdirectory(CALO)
b7c9bee4 37add_subdirectory(comp)
368c600b 38add_subdirectory(global)
aac9c09b 39add_subdirectory(EMCAL)
4aeb72a7 40add_subdirectory(FMD)
4dd695b9 41add_subdirectory(ITS)
b5576c4e 42add_subdirectory(JET)
aaa51f96 43add_subdirectory(MUON)
aac9c09b 44# Enable EVE if ROOT has OpenGL support
45if(ROOT_HASOPENGL STREQUAL "yes")
46 add_subdirectory(EVE)
47endif()
ebf7a8e8 48
4aeb72a7 49
116e4267 50#file(GLOB PACKAGES CMake*.pkg)
6d839a5c 51
116e4267 52#if(HLT_CUDA)
53# list(APPEND PACKAGES TPCLib/tracking-ca/cagpu/CMakelibAliHLTTPCCAGPU.pkg)
54#endif(HLT_CUDA)
c6ac942a 55
116e4267 56#if(HLT_OPENCL)
57# list(APPEND PACKAGES TPCLib/tracking-ca/cagpu/CMakelibAliHLTTPCCAGPUOpenCL.pkg)
58#endif()
c6ac942a 59
116e4267 60message(STATUS "HLT enabled")