Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTshuttle.pkg
CommitLineData
6db31708 1#--------------------------------------------------------------------------------#
2# Package File for HLTshuttle #
3# Author : Johny Jose (johny.jose@cern.ch) #
4# Variables Defined : #
5# #
6# SRCS - C++ source files #
7# HDRS - C++ header files #
8# DHDR - ROOT Dictionary Linkdef header file #
9# CSRCS - C source files #
10# CHDRS - C header files #
11# EINCLUDE - Include directories #
12# EDEFINE - Compiler definitions #
13# ELIBS - Extra libraries to link #
14# ELIBSDIR - Extra library directories #
15# PACKFFLAGS - Fortran compiler flags for package #
16# PACKCXXFLAGS - C++ compiler flags for package #
17# PACKCFLAGS - C compiler flags for package #
18# PACKSOFLAGS - Shared library linking flags #
19# PACKLDFLAGS - Module linker flags #
20# PACKBLIBS - Libraries to link (Executables only) #
21# EXPORT - Header files to be exported #
22# CINTHDRS - Dictionary header files #
23# CINTAUTOLINK - Set automatic dictionary generation #
24# ARLIBS - Archive Libraries and objects for linking (Executables only) #
25# SHLIBS - Shared Libraries and objects for linking (Executables only) #
26#--------------------------------------------------------------------------------#
27
28set ( LIBHLTSHUTTLE_VERSION 0)
29
30set ( CLASS_HDRS AliHLTPreprocessor.h)
31
32string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
33
34set ( MODULE_HDRS ${CLASS_HDRS})
35
36set ( MODULE_DHDR )
37
38set ( EINCLUDE HLT/shuttle HLT/BASE STEER)
39
40set ( LIBRARY_DEP -lHLTbase -lCDB)
41
42include ("CMakehlt.conf")
43
44if (MODULE_SRCS)
45ALICE_Format (SRCS "shuttle/" "" "${MODULE_SRCS}")
46endif(MODULE_SRCS)
47if (CLASS_HDRS)
48ALICE_Format (CINTHDRS "shuttle/" "" "${CLASS_HDRS}")
49endif(CLASS_HDRS)
50if (MODULE_HDRS)
51ALICE_Format (HDRS "shuttle/" "" "${MODULE_HDRS}")
52endif(MODULE_HDRS)
53if (MODULE_DHDR)
54ALICE_Format (DHDR "shuttle/" "" "${MODULE_DHDR}")
55endif(MODULE_DHDR)
56
57if(NOT DHDR)
58 set(CINTAUTOLINK 1)
59endif(NOT DHDR)
60
61set ( EDEFINE ${HLTDEFS})
62set ( PACKCXXFLAGS ${HLTCXXFLAGS})
63add_definitions("-DLIBHLTSHUTTLE_VERSION=${LIBHLTSHUTTLE_VERSION}")
64set ( PACKCFLAGS ${HLTCLFAGS})
65set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
66set ( PACKSOFLAGS ${HLTSOFLAGS})