]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CMakeLists.txt
eef087b23b634ef64cfe82d5fc9e6727033d4578
[u/mrichter/AliRoot.git] / HLT / CMakeLists.txt
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 # **************************************************************************
15
16 option(HLT_CUDA   "Build HLT GPU tracker using CUDA"   OFF)
17 option(HLT_OPENCL "Build HLT GPU tracker using OpenCL" OFF)
18
19 # AliRoot debug mode
20 if(ALIDEBUG)
21     add_definitions(-DDEBUG -D__DEBUG)
22 else()
23     add_definitions(-DNDEBUG)
24 endif (ALIDEBUG)
25
26 # MLUC
27 if(ALIHLT_MLUCDIR)
28     add_definitions(-Duse_logging)
29     include_directories(${ALIHLT_MLUCDIR}/include)
30     link_directories(${ALIHLT_MLUCDIR}/lib/tgt_${ALICE_TARGET})
31 endif (ALIHLT_MLUCDIR) 
32
33 add_subdirectory(CALO)
34
35 #file(GLOB PACKAGES CMake*.pkg)
36
37 #if(HLT_CUDA)
38 #  list(APPEND PACKAGES TPCLib/tracking-ca/cagpu/CMakelibAliHLTTPCCAGPU.pkg)
39 #endif(HLT_CUDA)
40
41 #if(HLT_OPENCL)
42 #  list(APPEND PACKAGES TPCLib/tracking-ca/cagpu/CMakelibAliHLTTPCCAGPUOpenCL.pkg)
43 #endif()
44
45 message(STATUS "HLT enabled")