Updating for CMake
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Oct 2008 16:42:42 +0000 (16:42 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Oct 2008 16:42:42 +0000 (16:42 +0000)
ANALYSIS/CMake_libANALYSIS.txt
ANALYSIS/CMake_libANALYSISalice.txt
FMD/CMakeLists.txt
FMD/CMake_libFMDanalysis.txt [new file with mode: 0644]

index 346a91c..bbc0bcb 100644 (file)
@@ -1,10 +1,10 @@
 # -*- mode: cmake -*-
 
 set(SRCS
-AliAnalysisDataContainer.cxx AliAnalysisDataSlot.cxx 
-AliAnalysisManager.cxx AliAnalysisTask.cxx 
-AliAnalysisSelector.cxx 
-AliAnalysisFilter.cxx AliAnalysisCuts.cxx 
+       AliAnalysisDataContainer.cxx AliAnalysisDataSlot.cxx 
+       AliAnalysisManager.cxx AliAnalysisTask.cxx 
+       AliAnalysisSelector.cxx AliAnalysisGrid.cxx 
+       AliAnalysisFilter.cxx AliAnalysisCuts.cxx 
 )
 
 # fill list of header files from list of source files
index a7475eb..d523833 100644 (file)
@@ -5,7 +5,7 @@ set(SRCS
        AliAnalysisTaskESDfilter.cxx AliAnalysisTaskKineFilter.cxx AliAnalysisTaskMCParticleFilter.cxx 
        AliKineTrackCuts.cxx AliESDtrackCuts.cxx AliESDv0Cuts.cxx 
        AliEventPoolOTF.cxx AliEventPoolLoop.cxx AliEventPoolSparse.cxx 
-       AliAnalysisTaskTagCreator.cxx
+       AliAnalysisTaskTagCreator.cxx AliAnalysisAlien.cxx
 )
 
 Set_source_files_properties(${SRCS} COMPILE_FLAGS -DWITHXML)
index f9ce2ba..392f51d 100644 (file)
@@ -6,8 +6,10 @@
 set(INCLUDE_DIRECTORIES
 ${CMAKE_SOURCE_DIR}/FMD
 ${CMAKE_SOURCE_DIR}/FMD/flow
+${CMAKE_SOURCE_DIR}/FMD/analysis
 ${CMAKE_SOURCE_DIR}/STEER
 ${CMAKE_SOURCE_DIR}/RAW
+${CMAKE_SOURCE_DIR}/ANALYSIS
 ${ROOT_INCLUDE_DIR}
 )
 
@@ -31,3 +33,5 @@ include(CMake_libFMDflow.txt)
 
 include(CMake_libFMDsim.txt)
 
+include(CMake_libFMDanalysis.txt)
+
diff --git a/FMD/CMake_libFMDanalysis.txt b/FMD/CMake_libFMDanalysis.txt
new file mode 100644 (file)
index 0000000..689ca7b
--- /dev/null
@@ -0,0 +1,15 @@
+# -*- mode: cmake -*-
+
+set(SRCS
+                  analysis/AliFMDAnaParameters.cxx     
+                  analysis/AliFMDAnalysisTaskESDReader.cxx     
+                  analysis/AliFMDAnalysisTaskSharing.cxx       
+                  analysis/AliFMDAnalysisTaskDensity.cxx       
+                  analysis/AliFMDAnalysisTaskBackgroundCorrection.cxx
+)
+
+# fill list of header files from list of source files
+# by exchanging the file extension
+String(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+AddLibrary(FMDanalysis "${SRCS}" "${HDRS}")