Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTbase.pkg
CommitLineData
6db31708 1#--------------------------------------------------------------------------------#
2# Package File for HLTbase #
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#--------------------------------------------------------------------------------#
27include ("CMakehlt.conf")
28
29set ( CLASS_HDRS AliHLTComponent.h AliHLTComponentHandler.h AliHLTMisc.h AliHLTSystem.h AliHLTReconstructorBase.h AliHLTPluginBase.h AliHLTProcessor.h AliHLTCalibrationProcessor.h AliHLTConfiguration.h AliHLTConfigurationHandler.h AliHLTOnlineConfiguration.h AliHLTTTreeProcessor.h AliHLTTask.h AliHLTDumpTask.h AliHLTControlTask.h AliHLTLogging.h AliHLTErrorGuard.h AliHLTDataBuffer.h AliHLTConsumerDescriptor.h AliHLTDataSource.h AliHLTDataSink.h AliHLTOfflineInterface.h AliHLTOfflineDataSource.h AliHLTOfflineDataSink.h AliHLTModuleAgent.h AliHLTModulePreprocessor.h AliHLTShuttleInterface.h AliHLTDimServer.h AliHLTHOMERLibManager.h AliHLTHOMERManager.h AliHLTHOMERProxyHandler.h AliHLTHOMERBlockDesc.h AliHLTHOMERSourceDesc.h AliHLTEsdManager.h AliHLTDAQ.h AliHLTOUT.h AliHLTOUTHomerBuffer.h AliHLTOUTTask.h AliHLTOUTHandler.h AliHLTOUTHandlerEquId.h AliHLTOUTHandlerDetectorDDL.h AliHLTOUTHandlerChain.h AliHLTOUTHandlerEsdBranch.h AliHLTMemoryFile.h AliHLTMessage.h AliHLTEventStatistics.h AliHLTBlockDataCollection.h AliHLTTriggerDecision.h AliHLTGlobalTriggerDecision.h AliHLTReadoutList.h AliHLTTriggerDomain.h AliHLTDomainEntry.h AliHLTTriggerMenu.h AliHLTTriggerMenuItem.h AliHLTTriggerMenuSymbol.h AliHLTCTPData.h AliHLTRunStatistics.h)
30
31string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}")
32list(APPEND MODULE_SRCS AliHLT_C_Component_WrapperInterface.cxx AliHLTDataTypes.cxx)
33
34list(APPEND MODULE_HDRS ${CLASS_HDRS} AliHLTDataTypes.h AliHLTLoggingVariadicFree.h AliHLTExternalTrackParam.h AliHLTCommonCDBEntries.h AliHLT_C_Component_WrapperInterface.h AliHLTDefinitions.h AliHLTStdIncludes.h)
35
36set ( MODULE_DHDR HLTbaseLinkDef.h)
37
38if (MODULE_SRCS)
39ALICE_Format (SRCS "BASE/" "" "${MODULE_SRCS}")
40endif(MODULE_SRCS)
41if (CLASS_HDRS)
42ALICE_Format (CINTHDRS "BASE/" "" "${CLASS_HDRS}")
43endif(CLASS_HDRS)
44if (MODULE_HDRS)
45ALICE_Format (HDRS "BASE/" "" "${MODULE_HDRS}")
46endif(MODULE_HDRS)
47if (MODULE_DHDR)
48ALICE_Format (DHDR "BASE/" "" "${MODULE_DHDR}")
49endif(MODULE_DHDR)
50
51if(NOT DHDR)
52 set(CINTAUTOLINK 1)
53endif(NOT DHDR)
54
55set ( EDEFINE ${HLTDEFS})
56set ( PACKCXXFLAGS ${HLTCXXFLAGS})
57set ( PACKCFLAGS ${HLTCLFAGS})
58set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
59
60set ( EINCLUDE HLT/BASE HLT/BASE/HOMER)