add light version of JET to cmake compile, to add: dependency of FASTJET
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Mar 2009 19:32:58 +0000 (19:32 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Mar 2009 19:32:58 +0000 (19:32 +0000)
HLT/CMakeLists.txt
HLT/CMake_libAliHLTJET.txt [new file with mode: 0644]

index 5fb15b2..3334813 100644 (file)
@@ -4,6 +4,7 @@
 # The extension is already found.  Any number of sources could be listed here.
 
 set(INCLUDE_DIRECTORIES
+${CMAKE_SOURCE_DIR}/ANALYSIS
 ${CMAKE_SOURCE_DIR}/EMCAL
 ${CMAKE_SOURCE_DIR}/HLT
 ${CMAKE_SOURCE_DIR}/HLT/BASE
@@ -12,6 +13,7 @@ ${CMAKE_SOURCE_DIR}/HLT/BASE/interface
 ${CMAKE_SOURCE_DIR}/HLT/BASE/util
 ${CMAKE_SOURCE_DIR}/HLT/EMCAL
 ${CMAKE_SOURCE_DIR}/HLT/ITS
+${CMAKE_SOURCE_DIR}/HLT/JET
 ${CMAKE_SOURCE_DIR}/HLT/MUON
 ${CMAKE_SOURCE_DIR}/HLT/MUON/OfflineInterface
 ${CMAKE_SOURCE_DIR}/HLT/MUON/OnlineAnalysis
@@ -33,6 +35,7 @@ ${CMAKE_SOURCE_DIR}/HLT/tracking-ca
 ${CMAKE_SOURCE_DIR}/HLT/trigger
 ${CMAKE_SOURCE_DIR}/HLT/global
 ${CMAKE_SOURCE_DIR}/ITS
+${CMAKE_SOURCE_DIR}/JETAN
 ${CMAKE_SOURCE_DIR}/MUON
 ${CMAKE_SOURCE_DIR}/MUON/mapping
 ${CMAKE_SOURCE_DIR}/PHOS
@@ -91,5 +94,7 @@ Include(CMake_libAliHLTPHOS.txt)
 
 Include(CMake_libAliHLTEMCAL.txt)
 
+Include(CMake_libAliHLTJET.txt)
+
 Include(CMake_bindHLTdumpraw.txt)
 
diff --git a/HLT/CMake_libAliHLTJET.txt b/HLT/CMake_libAliHLTJET.txt
new file mode 100644 (file)
index 0000000..de51dd9
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+JET/AliHLTJETAgent.cxx
+JET/AliHLTJETConeJetComponent.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(AliHLTJET "${SRCS}" "${HDRS}")