Replaced Error(...); exit(1) by AliFatal in the AliCheb... classes
[u/mrichter/AliRoot.git] / STEER / CMakeLists.txt
index bcbdc94..cd1351f 100644 (file)
@@ -1,33 +1,10 @@
-# -*- mode: cmake -*-
-# Create all libraries of STEER subdirectory 
+# AliRoot Build System CMakeLists for STEER
+#
+# Author: Johny Jose m(johny.jose@cern.ch)
+#         Port of previous Makefile build to cmake
 
-set(INCLUDE_DIRECTORIES
-${CMAKE_SOURCE_DIR}/STEER
-${CMAKE_BINARY_DIR}/STEER
-${CMAKE_SOURCE_DIR}/RAW
-${CMAKE_SOURCE_DIR}/HLT/sim
-${ROOT_INCLUDE_DIR}
-)
+cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
 
-include_directories( ${INCLUDE_DIRECTORIES})
+file(GLOB PACKAGES CMake*.pkg)
 
-set(LINK_DIRECTORIES
-${ROOT_LIBRARY_DIR}
-) 
-
-link_directories( ${LINK_DIRECTORIES})
-
-SetModule()
-
-# include files with the descriptions how to build the
-# different libraries of this subdirectory
-
-include(CMake_libESD.txt)
-
-include(CMake_libCDB.txt)
-
-include(CMake_libSTEERBase.txt)
-
-include(CMake_libSTEER.txt)
-
-include(CMake_libAOD.txt)
+ALICE_BuildModule()