]>
Commit | Line | Data |
---|---|---|
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 | 16 | option(HLT_CUDA "Build HLT GPU tracker using CUDA" OFF) |
17 | option(HLT_OPENCL "Build HLT GPU tracker using OpenCL" OFF) | |
18 | ||
c4dce561 | 19 | add_definitions(-Duse_aliroot -DUSE_ROOT -DROWHOUGHPARAMS) |
aac9c09b | 20 | |
116e4267 | 21 | # AliRoot debug mode |
22 | if(ALIDEBUG) | |
23 | add_definitions(-DDEBUG -D__DEBUG) | |
24 | else() | |
25 | add_definitions(-DNDEBUG) | |
26 | endif (ALIDEBUG) | |
27 | ||
28 | # MLUC | |
29 | if(ALIHLT_MLUCDIR) | |
30 | add_definitions(-Duse_logging) | |
31 | include_directories(${ALIHLT_MLUCDIR}/include) | |
32 | link_directories(${ALIHLT_MLUCDIR}/lib/tgt_${ALICE_TARGET}) | |
33 | endif (ALIHLT_MLUCDIR) | |
34 | ||
8bb711ff | 35 | add_subdirectory(BASE) |
116e4267 | 36 | add_subdirectory(CALO) |
b7c9bee4 | 37 | add_subdirectory(comp) |
368c600b | 38 | add_subdirectory(global) |
aac9c09b | 39 | add_subdirectory(EMCAL) |
4aeb72a7 | 40 | add_subdirectory(FMD) |
4dd695b9 | 41 | add_subdirectory(ITS) |
5c548d2a | 42 | #add_subdirectory(FJWrapper) - not needed |
aaa51f96 | 43 | add_subdirectory(MUON) |
0809dbbe | 44 | add_subdirectory(pendolino) |
f077ee2b | 45 | add_subdirectory(PHOS) |
88395b88 | 46 | add_subdirectory(RCU) |
3c517eb8 | 47 | add_subdirectory(SampleLib) |
b5a0ad8b | 48 | add_subdirectory(TPCLib) |
49 | add_subdirectory(TRD) | |
50 | add_subdirectory(trigger) | |
b7b6a48c | 51 | add_subdirectory(VZERO) |
841c7a8a | 52 | add_subdirectory(ZDC) |
aac9c09b | 53 | # Enable EVE if ROOT has OpenGL support |
4d31eb1c | 54 | if(ROOT_HASOPENGL) |
aac9c09b | 55 | add_subdirectory(EVE) |
56 | endif() | |
d790221c | 57 | add_subdirectory(QA) |
8bb508eb | 58 | add_subdirectory(rec) |
b9d1db0a | 59 | add_subdirectory(shuttle) |
3b7f69ee | 60 | add_subdirectory(sim) |
ebf7a8e8 | 61 | |
80b5b2ab | 62 | include("CMakehltdoc.conf") |
63 | ||
116e4267 | 64 | message(STATUS "HLT enabled") |