]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/CMakeLists.txt
1) Updated AddTask for efficiency with different filterbit notation, 2) Added an...
[u/mrichter/AliRoot.git] / EMCAL / CMakeLists.txt
index a1d5d2d967b4457e0beb819097890029ef0b0c09..7256b1c661c15af30740b7101f3f17e3e255103e 100644 (file)
@@ -1,34 +1,10 @@
-# -*- mode: cmake -*-
-# Create a library called "lib<name>" which includes the source files given in
-# the array .
-# The extension is already found.  Any number of sources could be listed here.
+# AliRoot Build System CMakeLists for EMCAL
+#
+# Author: Johny Jose m(johny.jose@cern.ch)
+#         Port of previous Makefile build to cmake
 
-set(INCLUDE_DIRECTORIES
-${CMAKE_SOURCE_DIR}/EMCAL
-${CMAKE_SOURCE_DIR}/EMCAL/Calib
-${CMAKE_SOURCE_DIR}/EMCAL/SMcalib
-${CMAKE_SOURCE_DIR}/STEER
-${CMAKE_SOURCE_DIR}/RAW
-${CMAKE_SOURCE_DIR}/ANALYSIS
-${ROOT_INCLUDE_DIR}
-)
-
-include_directories( ${INCLUDE_DIRECTORIES})
-
-set(LINK_DIRECTORIES
-${ROOT_LIBRARY_DIR}
-) 
-
-link_directories( ${LINK_DIRECTORIES})
-
-SetModule()
-
-include(CMake_libEMCALrec.txt)
-
-include(CMake_libEMCALbase.txt)
-
-include(CMake_libEMCALsim.txt)
-
-include(CMake_libEMCALcalib.txt)
+cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
 
+file(GLOB PACKAGES CMake*.pkg)
 
+ALICE_BuildModule()