Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / HLT / CMakehlt.conf
CommitLineData
6db31708 1#--------------------------------------------------------------------------------#
2# Package Configure File for hlt #
3# Author : Johny Jose (johny.jose@cern.ch) #
4# #
5#--------------------------------------------------------------------------------#
6
7set ( HLTDEFS "-Duse_aliroot -Duse_root -DROWHOUGHPARAMS -Duse_reconstruction -Duse_newio -DROOTVERSION=\\\"unchecked\\\" -DALIROOTVERSION=\\\"unchecked\\\" -D__ROOT__ -DUSE_ALILOG -DLINUX" )
8
9string ( REGEX REPLACE "(-ansi|-pedantic-errors|-Woverloaded-virtual)" "" HLTCXXFLAGS ${CFLAGS})
10string ( REGEX REPLACE "(-ansi|-pedantic-errors|-Woverloaded-virtual)" "" HLTCXXFLAGS ${CXXFLAGS})
11string ( REGEX REPLACE "(-ansi|-pedantic-errors|-Woverloaded-virtual)" "" HLTDCXXFLAGS ${CXXFLAGS})
12
13set ( HLTSOFLAGS ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET})
14
15if( ALICE_TARGET STREQUAL "win32gcc")
16
17 set ( HLTSOFLAGS ${HLTSOFLAGS} ${LIBRARY_DEP})
18
19endif( ALICE_TARGET STREQUAL "win32gcc")
20
21if (ALIDEBUG)
22 set ( HLTDEFS "${HLTDEFS} -DDEBUG -D__DEBUG" )
23else ()
24 set ( HLTDEFS "${HLTDEFS} -DNDEBUG")
25endif (ALIDEBUG)
26
27if (ALIHLT_MLUCDIR)
28 set ( HLTDEFS "${HLTDEFS} -Duse_logging")
29 set ( EINCLUDE "${EINCLUDE} ${ALIHLT_MLUCDIR}/include")
30 set ( ELIBS "${ELIBS} MLUC")
31 set ( ELIBSDIR "${ELIBSDIR} ${ALIHLT_MLUCDIR}/lib/tgt_${ALICE_TARGET}")
32endif (ALIHLT_MLUCDIR)
33