add_subdirectory(ITSsim)
add_subdirectory(UPGRADE)
+# Macros
+# Macros
+# Do not forget the ending / from macros/
+# The / will point to install the content of the folder to
+# macros/ITS/UPGRADE Without the / it will create a new folder
+# macros/ITS/UPGRADE/macros
+install(DIRECTORY oldmacros/ DESTINATION macros/ITS/oldmacros)
+install(DIRECTORY macrosSDD/ DESTINATION macros/ITS/macrosSDD)
+
+
message(STATUS "ITS enabled")
add_subdirectory(ITSUpgradeSim)
# Macros
-add_subdirectory(macros)
-add_subdirectory(macros/QA)
+# Do not forget the ending / from macros/
+# The / will point to install the content of the folder to
+# macros/ITS/UPGRADE Without the / it will create a new folder
+# macros/ITS/UPGRADE/macros
+install(DIRECTORY macros/ DESTINATION macros/ITS/UPGRADE)
message(STATUS "ITS UPGRADE enabled")
+++ /dev/null
-# **************************************************************************
-# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
-# * *
-# * Author: The ALICE Off-line Project. *
-# * Contributors are mentioned in the code where appropriate. *
-# * *
-# * Permission to use, copy, modify and distribute this software and its *
-# * documentation strictly for non-commercial purposes is hereby granted *
-# * without fee, provided that the above copyright notice appears in all *
-# * copies and that both the copyright notice and this permission notice *
-# * appear in the supporting documentation. The authors make no claims *
-# * about the suitability of this software for any purpose. It is *
-# * provided "as is" without express or implied warranty. *
-# **************************************************************************
-
-# Macros in alphabetical order
-set(MACRO_SRCS
- Config_pileup.C
- efficiency.C
- FastVsSlowSim.C
- PlotDoseExtrapolat.C
- PlotOptimizeLenght.C
- recGloCooked.C
- ScanDigitsSuze02_v15.C
- testTrackerCA.C
- testTrackerCooked.C
-)
-
-install(FILES ${MACRO_SRCS} DESTINATION macros/ITS/UPGRADE)
\ No newline at end of file
+++ /dev/null
-# **************************************************************************
-# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
-# * *
-# * Author: The ALICE Off-line Project. *
-# * Contributors are mentioned in the code where appropriate. *
-# * *
-# * Permission to use, copy, modify and distribute this software and its *
-# * documentation strictly for non-commercial purposes is hereby granted *
-# * without fee, provided that the above copyright notice appears in all *
-# * copies and that both the copyright notice and this permission notice *
-# * appear in the supporting documentation. The authors make no claims *
-# * about the suitability of this software for any purpose. It is *
-# * provided "as is" without express or implied warranty. *
-# **************************************************************************
-
-# Macros in alphabetical order
-set(MACRO_SRCS
- AliITSUComparison.C
- AliITSUComparisonCooked.C
- AliITSUComparisonPileup.C
- AliTPCUComparison.C
- CheckPileupVerticesMC.C
- check_radii.C
- CMakeLists.txt
- compClusHits.C
- plotHits.C
-)
-
-install(FILES ${MACRO_SRCS} DESTINATION macros/ITS/UPGRADE/QA)
\ No newline at end of file
LIBRARY DESTINATION lib)
install(FILES ${HDRS} DESTINATION include)
+# Macros
+# Do not forget the ending / from macros/
+# The / will point to install the content of the folder to
+# macros/STAT Without the / it will create a new folder
+# macros/STAT/Macros
+install(DIRECTORY Macros/ DESTINATION macros/STAT)
+
message(STATUS "${MODULE} enabled")
\ No newline at end of file
add_subdirectory (CDB)
add_subdirectory (STEER)
+# Macros
+# Do not forget the ending / from macros/
+# The / will point to install the content of the folder to
+# macros/STEER Without the / it will create a new folder
+# macros/STEER/macros
+install(DIRECTORY macros/ DESTINATION macros/STEER)
+
message(STATUS "STEER enabled")
+++ /dev/null
-# **************************************************************************
-# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
-# * *
-# * Author: The ALICE Off-line Project. *
-# * Contributors are mentioned in the code where appropriate. *
-# * *
-# * Permission to use, copy, modify and distribute this software and its *
-# * documentation strictly for non-commercial purposes is hereby granted *
-# * without fee, provided that the above copyright notice appears in all *
-# * copies and that both the copyright notice and this permission notice *
-# * appear in the supporting documentation. The authors make no claims *
-# * about the suitability of this software for any purpose. It is *
-# * provided "as is" without express or implied warranty. *
-# **************************************************************************
-
-# Module
-set(MODULE CDB)
-
-# Module include folders
-include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
-
-# Additional include directories
-include_directories(${ROOTSYS}/include
- ${CMAKE_SOURCE_DIR}/STEER/STEERBase
- ${CMAKE_BINARY_DIR}/version/
- )
-
-
-# Sources - alphabetical order
-set(SRCS
- AliBaseCalibViewer.cxx
- AliBaseCalibViewerGUI.cxx
- AliCalibViewerGUItime.cxx
- AliCDBDump.cxx
- AliCDBEntry.cxx
- AliCDBGrid.cxx
- AliCDBHandler.cxx
- AliCDBId.cxx
- AliCDBLocal.cxx
- AliCDBManager.cxx
- AliCDBMetaData.cxx
- AliCDBPath.cxx
- AliCDBRunRange.cxx
- AliCDBStorage.cxx
- AliDCSGenDB.cxx
- AliDCSSensorArray.cxx
- AliDCSSensor.cxx
- AliDCSValue.cxx
- AliGRPDCS.cxx
- AliOCDBtoolkit.cxx
- AliPreprocessor.cxx
- AliShuttleInterface.cxx
- AliSplineFit.cxx
- )
-
-# Headers from sources
-string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
-
-# Generate the dictionary
-# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
-get_directory_property(incdirs INCLUDE_DIRECTORIES)
-generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
-
-# Add a library to the project using the specified source files
-add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
-
-# Additional compilation flags
-set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
-
-# System dependent: Modify the way the library is build
-if(${CMAKE_SYSTEM} MATCHES Darwin)
- set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
-endif(${CMAKE_SYSTEM} MATCHES Darwin)
-
-# Installation
-install(TARGETS ${MODULE}
- ARCHIVE DESTINATION lib
- LIBRARY DESTINATION lib)
-install(FILES ${HDRS} DESTINATION include)