Missing macros
authoragrigora <alina.grigoras@cern.ch>
Wed, 10 Dec 2014 14:42:30 +0000 (15:42 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:10 +0000 (13:52 +0100)
CMakeLists.txt
PWGCF/FEMTOSCOPY/CMakeLists.txt
PWGGA/CaloTrackCorrelations/CMakeLists.txt
PWGGA/EMCALTasks/CMakeLists.txt
PWGGA/PHOSTasks/CMakeLists.txt
PWGHF/vertexingHF/CMakeLists.txt
PWGLF/FORWARD/CMakeLists.txt
PWGLF/QATasks/CMakeLists.txt
PWGPP/CMakeLists.txt
PWGUD/UPC/CMakeLists.txt

index a80d201..ea52224 100644 (file)
@@ -21,6 +21,15 @@ cmake_minimum_required(VERSION 2.8.11 FATAL_ERROR)
 
 project(AliRoot CXX C)
 
+message(STATUS "CMake platform: ${CMAKE_SYSTEM}")
+message(STATUS "Build folder: ${AliRoot_BINARY_DIR}")
+message(STATUS "Source folder: ${AliRoot_SOURCE_DIR}")
+message(STATUS "Installation folder: ${CMAKE_INSTALL_PREFIX}")
+
+if(CMAKE_INSTALL_PREFIX STREQUAL "${AliRoot_SOURCE_DIR}")
+    message(FATAL_ERROR "Please choose a different installation point than the source tree!")
+endif()
+
 # Path to additonal modules
 set(CMAKE_MODULE_PATH "${AliRoot_SOURCE_DIR}/cmake")
 
@@ -171,11 +180,6 @@ find_package(FASTJET)
 # ZEROMQ
 find_package(ZeroMQ)
 
-message(STATUS "CMake platform: ${CMAKE_SYSTEM}")
-message(STATUS "Build folder: ${AliRoot_BINARY_DIR}")
-message(STATUS "Source folder: ${AliRoot_SOURCE_DIR}")
-message(STATUS "Installation folder: ${CMAKE_INSTALL_PREFIX}")
-
 # General flags -> Should be moved into a configuration file
 set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
 set(CMAKE_NO_SYSTEM_FROM_IMPORTED TRUE)
index b86610e..aa4bda6 100644 (file)
@@ -21,6 +21,7 @@ add_subdirectory(ESE)
 add_subdirectory(K0Analysis)
 add_subdirectory(UNICOR)
 
-install (DIRECTORY macros
-         DESTINATION PWGCF/FEMTOSCOPY
-         PATTERN .svn EXCLUDE)
+install(DIRECTORY
+                macros
+        DESTINATION 
+                PWGCF/FEMTOSCOPY)
index 378f3c4..6859fbb 100644 (file)
@@ -108,4 +108,9 @@ install(TARGETS ${MODULE}
         ARCHIVE DESTINATION lib
         LIBRARY DESTINATION lib)
 
-install(FILES ${HDRS} DESTINATION include)
\ No newline at end of file
+install(FILES ${HDRS} DESTINATION include)
+
+install(FILES macros/QA/AddTaskCalorimeterQA.C 
+              macros/QA/AddTaskPi0IMGammaCorrQA.C
+        DESTINATION PWGGA/CaloTrackCorrelations/macros/QA/
+       )
\ No newline at end of file
index db2d51d..95ca50c 100644 (file)
@@ -114,4 +114,7 @@ install(TARGETS ${MODULE}
         ARCHIVE DESTINATION lib
         LIBRARY DESTINATION lib)
 
-install(FILES ${HDRS} DESTINATION include)
\ No newline at end of file
+install(FILES ${HDRS} DESTINATION include)
+
+install (FILES macros/AddTaskEMCALTriggerQA.C
+         DESTINATION PWGGA/EMCALTasks/macros/ )
\ No newline at end of file
index 6444697..ffbfc3b 100644 (file)
@@ -133,4 +133,22 @@ install(TARGETS ${MODULE}
         ARCHIVE DESTINATION lib
         LIBRARY DESTINATION lib)
 
-install(FILES ${HDRS} DESTINATION include)
\ No newline at end of file
+install(FILES ${HDRS} DESTINATION include)
+
+install(FILES
+                CaloCellQA/macros/AddTaskCaloCellsQA.C
+                CaloCellQA/macros/AddTaskPHOSQA.C
+       DESTINATION
+                PWGGA/PHOSTasks/CaloCellQA/macros
+       )
+
+install(FILES
+                PHOS_TriggerQA/macros/AddTaskPHOSTriggerQA.C
+        DESTINATION
+                PWGGA/PHOSTasks/PHOS_TriggerQA/macros/
+       )
+
+install(FILES
+                PHOS_PbPbQA/macros/AddTaskPHOSPbPb.C
+        DESTINATION PWGGA/PHOSTasks/PHOS_PbPbQA/macros/
+       )
\ No newline at end of file
index 6615b5e..a7e6e85 100644 (file)
@@ -129,15 +129,15 @@ install(TARGETS ${MODULE}
   LIBRARY DESTINATION lib)
 install(FILES ${HDRS} DESTINATION include)
 
-install ( FILES AliAODRecoDecayHF.h 
-         AliAODRecoDecayHF2Prong.h
-         AddD2HTrain.C 
-         ConfigVertexingHF.C 
-         ConfigVertexingHF_highmult.C 
-          DESTINATION PWGHF/vertexingHF/ )
+install(FILES
+            AliAODRecoDecayHF.h
+            AliAODRecoDecayHF2Prong.h
+            AddD2HTrain.C
+            ConfigVertexingHF.C
+            ConfigVertexingHF_highmult.C
+        DESTINATION 
+            PWGHF/vertexingHF/)
 
-install ( DIRECTORY macros
-          DESTINATION PWGHF/vertexingHF/
-          PATTERN ".d"  EXCLUDE
-          PATTERN ".so" EXCLUDE
-          PATTERN ".svn" EXCLUDE)
+install(DIRECTORY
+            macros
+        DESTINATION PWGHF/vertexingHF/)
\ No newline at end of file
index f65e781..050a9fe 100644 (file)
@@ -210,43 +210,26 @@ add_custom_target( install-PWGLFforward2.par
 install ( DIRECTORY analysis2/scripts 
          DESTINATION PWGLF/FORWARD/analysis2 
          USE_SOURCE_PERMISSIONS
-         PATTERN "*~"    EXCLUDE
-         PATTERN ".svn"  EXCLUDE
-         PATTERN "*.d"   EXCLUDE 
-         PATTERN "*.so"  EXCLUDE)
-
+         PATTERN "*~"    EXCLUDE)
+         
 # install QA scripts 
 install ( DIRECTORY analysis2/qa
          DESTINATION PWGLF/FORWARD/analysis2 
          USE_SOURCE_PERMISSIONS
-         PATTERN "*~"    EXCLUDE
-         PATTERN ".svn"  EXCLUDE
-         PATTERN "*.d"   EXCLUDE 
-         PATTERN "*.so"  EXCLUDE)
-
+         PATTERN "*~"    EXCLUDE)
 # install correction scripts 
 install ( DIRECTORY analysis2/corrs
          DESTINATION PWGLF/FORWARD/analysis2 
-         PATTERN "*~"    EXCLUDE
-         PATTERN ".svn"  EXCLUDE
-         PATTERN "*.d"   EXCLUDE 
-         PATTERN "*.so"  EXCLUDE)
-
+         PATTERN "*~"    EXCLUDE)
 # install trains 
 install ( DIRECTORY analysis2/trains 
          DESTINATION PWGLF/FORWARD/analysis2 
-         PATTERN "*~"   EXCLUDE
-         PATTERN ".svn" EXCLUDE
-         PATTERN "*.d"  EXCLUDE 
-         PATTERN "*.so" EXCLUDE)
-
+         PATTERN "*~"   EXCLUDE)
 # install trains 
 install ( DIRECTORY trains 
          DESTINATION PWGLF/FORWARD 
          FILES_MATCHING PATTERN "*.C"
-         PATTERN "*~"        EXCLUDE
-         PATTERN ".svn"      EXCLUDE)
-
+         PATTERN "*~"        EXCLUDE)
 # Install other scripts
 install ( FILES analysis2/AddTaskCentraldNdeta.C
                analysis2/AddTaskCentralMCCorr.C
@@ -304,11 +287,6 @@ install ( FILES analysis2/Run.sh
 
 # install sim 
 install ( DIRECTORY analysis2/sim 
-         DESTINATION PWGLF/FORWARD/analysis2 
-         PATTERN "*~"   EXCLUDE
-         PATTERN ".svn" EXCLUDE
-         PATTERN "*.d"  EXCLUDE 
-         PATTERN "*.so" EXCLUDE)
-       
+         DESTINATION PWGLF/FORWARD/analysis2)
 
 # --------------------------------------------------------------------
index fb0d1b7..62abcac 100644 (file)
@@ -69,3 +69,5 @@ install(TARGETS ${MODULE}
   ARCHIVE DESTINATION lib
   LIBRARY DESTINATION lib)
 install(FILES ${HDRS} DESTINATION include)
+
+install(DIRECTORY macros DESTINATION PWGLF/QATasks)
index 0070218..190b4b9 100644 (file)
@@ -274,40 +274,22 @@ install(TARGETS ${MODULE}
 install(FILES ${HDRS} DESTINATION include)
 
 # install macros as needed
-install ( DIRECTORY macros 
-         DESTINATION PWGPP 
-         PATTERN ".d"  EXCLUDE 
-         PATTERN ".so" EXCLUDE)
-install ( DIRECTORY CalibMacros 
-         DESTINATION PWGPP 
-         PATTERN ".d"  EXCLUDE 
-         PATTERN ".so" EXCLUDE)
-install ( DIRECTORY PilotTrain
-         DESTINATION PWGPP/ 
-         PATTERN ".d"  EXCLUDE 
-         PATTERN ".so" EXCLUDE)
-install ( FILES HMPID/AddTaskHmpidQA.C
-         DESTINATION PWGPP/HMPID)
-install ( FILES T0/AddTaskT0QA.C
-         DESTINATION PWGPP/T0)
-install ( FILES TOF/AddTaskTOFQA.C
-                TOF/AddTaskTOFqaID.C
-         DESTINATION PWGPP/TOF)
-install ( FILES TOF/AddTaskTOFQA.C
-         DESTINATION PWGPP/TOF)
-install ( DIRECTORY TPC/macros
-         DESTINATION PWGPP/TPC
-         PATTERN ".C")
-install ( DIRECTORY TRD
-         DESTINATION PWGPP)
-install ( FILES TRD/TRDPID/macros/AddTaskTRDPIDTree.C
-                TRD/TRDPID/macros/AddTaskTRDPIDmatching.C
-          DESTINATION PWGPP/TRD)
-install ( FILES ZDC/AddTaskZDCQA.C
-         DESTINATION PWGPP/ZDC)
-install ( FILES PilotTrain/AddTaskMuonQA.C
-         DESTINATION PWGPP/PilotTrain/ )
-install ( FILES VZERO/AddTaskVZEROPbPb.C
-          DESTINATION PWGPP/VZERO/ )
+install(DIRECTORY macros DESTINATION PWGPP)
+install(DIRECTORY CalibMacros DESTINATION PWGPP)
+install(DIRECTORY PilotTrain DESTINATION PWGPP)
+install(FILES HMPID/AddTaskHmpidQA.C DESTINATION PWGPP/HMPID)
+install(FILES T0/AddTaskT0QA.C  DESTINATION PWGPP/T0)
+install(FILES TOF/AddTaskTOFQA.C
+              TOF/AddTaskTOFqaID.C
+        DESTINATION PWGPP/TOF)
+install(FILES TOF/AddTaskTOFQA.C DESTINATION PWGPP/TOF)
+install(DIRECTORY TPC/macros DESTINATION PWGPP/TPC PATTERN ".C")
+install(DIRECTORY TRD DESTINATION PWGPP)
+install(FILES TRD/TRDPID/macros/AddTaskTRDPIDTree.C
+            TRD/TRDPID/macros/AddTaskTRDPIDmatching.C
+         DESTINATION PWGPP/TRD)
+install(FILES ZDC/AddTaskZDCQA.C DESTINATION PWGPP/ZDC)
+install(FILES PilotTrain/AddTaskMuonQA.C DESTINATION PWGPP/PilotTrain/ )
+install(FILES VZERO/AddTaskVZEROPbPb.C DESTINATION PWGPP/VZERO/)
 
 message(STATUS "PWGPP enabled")
index a855efc..a28cb8c 100644 (file)
@@ -99,4 +99,7 @@ install(TARGETS ${MODULE}
         ARCHIVE DESTINATION lib
         LIBRARY DESTINATION lib)
 
-install(FILES ${HDRS} DESTINATION include)
\ No newline at end of file
+install(FILES ${HDRS} DESTINATION include)
+
+# Install macros
+install(FILES AddTaskUpcPsi2s.C DESTINATION PWGUD/UPC)
\ No newline at end of file