Converting HERWIG to native cmake
[u/mrichter/AliRoot.git] / MONITOR / alionlinereco / CMakeLists.txt
CommitLineData
6b30c614 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# Module include folder
17include_directories(${AliRoot_SOURCE_DIR}/MONITOR/alionlinereco
18 )
19
20# Additional include folders in alphabetical order
21include_directories(${AliRoot_SOURCE_DIR}/MONITOR/MONITOR
22 ${AliRoot_SOURCE_DIR}/MONITOR/MONITORzmq
23 ${AliRoot_SOURCE_DIR}/STEER/CDB
24 ${AliRoot_SOURCE_DIR}/STEER/STEER
25 ${AliRoot_SOURCE_DIR}/STEER/STEERBase
26 )
27
28add_definitions(-DZMQ)
29
30if(DIMDIR AND ODIR)
31 link_directories(${DIMDIR}/${ODIR})
32endif()
33
34if(DATE_FOUND)
35 message(STATUS "Do something here")
36endif()
37
38# alistorage executable
39add_executable(alionlinereco onlinereco.cxx)
40target_link_libraries(alionlinereco MONITOR MONITORzmq STEERBase STEER)
41if(PYTHIA6)
42 target_link_libraries(alionlinereco EVGEN HepMC HepMCParser)
43endif(PYTHIA6)
44
45# Installation
46install(TARGETS alionlinereco RUNTIME DESTINATION bin)
47
48