]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Install macros
authoragrigora <alina.grigoras@cern.ch>
Thu, 9 Oct 2014 15:03:46 +0000 (17:03 +0200)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:23 +0000 (13:51 +0100)
ITS/CMakeLists.txt
ITS/UPGRADE/CMakeLists.txt
ITS/UPGRADE/macros/CMakeLists.txt [deleted file]
ITS/UPGRADE/macros/QA/CMakeLists.txt [deleted file]
STAT/CMakeLists.txt
STEER/CMakeLists.txt
STEER/macros/CDB/CMakeLists.txt [deleted file]

index 4c6bfdb593cad5a4f573752376775c42dd999239..3e7501d1fbc05fb4f5dcbccc3a4aa0705b58176b 100644 (file)
@@ -18,4 +18,14 @@ add_subdirectory(ITSrec)
 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")
index 8004011e2b194ea83e519618b8acae16982e13f0..3c1f0148381f8f87fc59db5846034a8c7a8242c6 100644 (file)
@@ -19,7 +19,10 @@ add_subdirectory(ITSUpgradeRec)
 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")
diff --git a/ITS/UPGRADE/macros/CMakeLists.txt b/ITS/UPGRADE/macros/CMakeLists.txt
deleted file mode 100644 (file)
index cfc74b7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# **************************************************************************
-# * 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
diff --git a/ITS/UPGRADE/macros/QA/CMakeLists.txt b/ITS/UPGRADE/macros/QA/CMakeLists.txt
deleted file mode 100644 (file)
index 669fa48..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# **************************************************************************
-# * 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
index 9514f93e80a9cd6a6a80134a49e6427c599c5bb4..afc77bde20a53b823b7f272f3e0fec21bae53a1f 100644 (file)
@@ -64,4 +64,11 @@ install(TARGETS ${MODULE}
   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
index 042a5b53fc333a6ae867deadd3222df3d54b70d3..5b7335c0f1a0c0cb7e5cff21876826582766a308 100644 (file)
@@ -20,4 +20,11 @@ add_subdirectory (AOD)
 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")
diff --git a/STEER/macros/CDB/CMakeLists.txt b/STEER/macros/CDB/CMakeLists.txt
deleted file mode 100644 (file)
index 29a4694..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-# **************************************************************************
-# * 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)