]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/CMake_libAliHLTHOMER.txt
fix mem leak and compiler warning
[u/mrichter/AliRoot.git] / HLT / CMake_libAliHLTHOMER.txt
CommitLineData
e969a926 1# -*- mode: cmake -*-
2
3set(SRCS
4BASE/HOMER/AliHLTHOMERReader.cxx
5BASE/HOMER/AliHLTHOMERWriter.cxx
6)
7
8Set_source_files_properties(${SRCS} PROPERTIES COMPILE_FLAGS
9 "-Duse_aliroot -DUSE_ROOT -Duse_root -DROWHOUGHPARAMS -Duse_reconstruction -Duse_newio -DROOTVERSION=\"unchecked\" -DALIROOTVERSION=\"unchecked\" -D__ROOT__ -DUSE_ALILOG -DLINUX")
10
11# fill list of header files from list of source files
12# by exchanging the file extension
13String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
14
15
16Set(HDRS "${HDRS}"
17BASE/HOMER/AliHLTHOMERData.h
18)
19
20AddLibrary(AliHLTHOMER "${SRCS}" "${HDRS}")
21