]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RAW/alirawdump/CMakeLists.txt
290273187b2acba00e0fe7afc6bae10ed6326656
[u/mrichter/AliRoot.git] / RAW / alirawdump / 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 # Module
17 set(MODULE alirawdump)
18
19 # Module include folder
20 include_directories(${CMAKE_SOURCE_DIR}/RAW/${MODULE})
21
22 # Module aditional include folders in alphabetical order except ROOT
23 include_directories(${ROOT_INCLUDE_DIRS}
24                     ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
25                     ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
26                     ${CMAKE_SOURCE_DIR}/STEER/STEERBase
27                    )
28
29 set(ROOTEXTRALIBS "-L${ROOTLIBDIR} -lThread -lGeom -lVMC -lMinuit")
30
31 # Add an executable to the project using the specified source files
32 add_executable(${MODULE} alirawdump_main.cxx)
33 target_link_libraries(${MODULE} STEERBase RAWDatabase ${ROOTEXTRALIBS} ${ROOTLIBS})
34
35 # Installation
36 install(TARGETS ${MODULE} RUNTIME DESTINATION bin)