Switching from CMAKE_SOURCE_DIR to AliRoot_SOURCE_DIR
authoragrigora <alina.grigoras@cern.ch>
Thu, 6 Nov 2014 09:22:08 +0000 (10:22 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:53 +0000 (13:51 +0100)
119 files changed:
ACORDE/ACORDEbase/CMakeLists.txt
ACORDE/ACORDErec/CMakeLists.txt
ACORDE/ACORDEsim/CMakeLists.txt
ANALYSIS/ANALYSIS/CMakeLists.txt
ANALYSIS/ANALYSISalice/CMakeLists.txt
ANALYSIS/ANALYSIScalib/CMakeLists.txt
ANALYSIS/ESDfilter/CMakeLists.txt
ANALYSIS/EventMixing/CMakeLists.txt
ANALYSIS/Tender/CMakeLists.txt
ANALYSIS/TenderSupplies/CMakeLists.txt
BCM/CMakeLists.txt
CORRFW/CMakeLists.txt
EMCAL/EMCALUtils/CMakeLists.txt
EMCAL/EMCALbase/CMakeLists.txt
EMCAL/EMCALraw/CMakeLists.txt
EMCAL/EMCALrec/CMakeLists.txt
EMCAL/EMCALsim/CMakeLists.txt
EVGEN/CMakeLists.txt
FASTSIM/CMakeLists.txt
FMD/FMDbase/CMakeLists.txt
FMD/FMDrec/CMakeLists.txt
FMD/FMDsim/CMakeLists.txt
FMD/FMDutil/CMakeLists.txt
HMPID/HMPIDbase/CMakeLists.txt
HMPID/HMPIDrec/CMakeLists.txt
HMPID/HMPIDsim/CMakeLists.txt
ITS/ITSbase/CMakeLists.txt
ITS/ITSrec/CMakeLists.txt
ITS/ITSsim/CMakeLists.txt
ITS/UPGRADE/ITSUpgradeBase/CMakeLists.txt
ITS/UPGRADE/ITSUpgradeRec/CMakeLists.txt
ITS/UPGRADE/ITSUpgradeSim/CMakeLists.txt
LHAPDF/CMakeLists.txt
MICROCERN/CMakeLists.txt
MUON/MUONbase/CMakeLists.txt
MUON/MUONcalib/CMakeLists.txt
MUON/MUONcalign/CMakeLists.txt
MUON/MUONcore/CMakeLists.txt
MUON/MUONevaluation/CMakeLists.txt
MUON/MUONgeometry/CMakeLists.txt
MUON/MUONgraphics/CMakeLists.txt
MUON/MUONmapping/CMakeLists.txt
MUON/MUONmpgraphics/CMakeLists.txt
MUON/MUONraw/CMakeLists.txt
MUON/MUONrec/CMakeLists.txt
MUON/MUONshuttle/CMakeLists.txt
MUON/MUONsim/CMakeLists.txt
MUON/MUONtrigger/CMakeLists.txt
OADB/CMakeLists.txt
PHOS/PHOSUtils/CMakeLists.txt
PHOS/PHOSbase/CMakeLists.txt
PHOS/PHOSpi0Calib/CMakeLists.txt
PHOS/PHOSrec/CMakeLists.txt
PHOS/PHOSshuttle/CMakeLists.txt
PHOS/PHOSsim/CMakeLists.txt
PMD/PMDbase/CMakeLists.txt
PMD/PMDrec/CMakeLists.txt
PMD/PMDsim/CMakeLists.txt
PYTHIA6/AliPythia6/CMakeLists.txt
PYTHIA6/QPYTHIA/CMakeLists.txt
PYTHIA6/pythia6.4.21/CMakeLists.txt
PYTHIA6/pythia6.4.25/CMakeLists.txt
PYTHIA6/pythia6/CMakeLists.txt
RAW/MDC/CMakeLists.txt
RAW/RAWDatabase/CMakeLists.txt
RAW/RAWDatarec/CMakeLists.txt
RAW/RAWDatarecOnline/CMakeLists.txt
RAW/RAWDatasim/CMakeLists.txt
RAW/alimdc/CMakeLists.txt
RAW/alirawdump/CMakeLists.txt
RAW/dateStream/CMakeLists.txt
STARLIGHT/starlight/CMakeLists.txt
STARLIGHT/starlight/Makefile
STARLIGHT/starlight/cmake_modules/CommonMacros.cmake
STARLIGHT/starlight/include/reportingUtils.h
STAT/CMakeLists.txt
STEER/AOD/CMakeLists.txt
STEER/CDB/CMakeLists.txt
STEER/ESD/CMakeLists.txt
STEER/STEER/CMakeLists.txt
STEER/STEERBase/CMakeLists.txt
STRUCT/CMakeLists.txt
T0/T0base/CMakeLists.txt
T0/T0calib/CMakeLists.txt
T0/T0rec/CMakeLists.txt
T0/T0shuttle/CMakeLists.txt
T0/T0sim/CMakeLists.txt
THydjet/CMakeLists.txt
TOF/TOFbase/CMakeLists.txt
TOF/TOFcalib/CMakeLists.txt
TOF/TOFrec/CMakeLists.txt
TOF/TOFsim/CMakeLists.txt
TPC/TPCbase/CMakeLists.txt
TPC/TPCcalib/CMakeLists.txt
TPC/TPCmon/CMakeLists.txt
TPC/TPCrec/CMakeLists.txt
TPC/TPCsim/CMakeLists.txt
TPC/TPCutil/CMakeLists.txt
TPHIC/CMakeLists.txt
TRD/TRDbase/CMakeLists.txt
TRD/TRDcalib/CMakeLists.txt
TRD/TRDgui/CMakeLists.txt
TRD/TRDqaAnalysis/CMakeLists.txt
TRD/TRDrec/CMakeLists.txt
TRD/TRDsim/CMakeLists.txt
TRIGGER/CMakeLists.txt
TTherminator/CMakeLists.txt
TUHKMgen/CMakeLists.txt
VZERO/VZERObase/CMakeLists.txt
VZERO/VZEROrec/CMakeLists.txt
VZERO/VZEROsim/CMakeLists.txt
ZDC/ZDCbase/CMakeLists.txt
ZDC/ZDCrec/CMakeLists.txt
ZDC/ZDCsim/CMakeLists.txt
cmake/ALICE_CMake.cmake
cmake/CMakeDA.cmake
cmake/CheckGitVersion.cmake
cmake/FindRuleChecker.cmake
cmake/GetGitRevisionDescription.cmake

index 2d56438..05ac05c 100644 (file)
 set(MODULE ACORDEbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ACORDE/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ACORDE/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 633bd3f..0d71f92 100644 (file)
 set(MODULE ACORDErec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ACORDE/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ACORDE/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ACORDE/ACORDEbase
-                    ${CMAKE_SOURCE_DIR}/ACORDE/ACORDEsim
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ACORDE/ACORDEbase
+                    ${AliRoot_SOURCE_DIR}/ACORDE/ACORDEsim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index a0b0b49..567a885 100644 (file)
 set(MODULE ACORDEsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ACORDE/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ACORDE/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ACORDE/ACORDEbase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ACORDE/ACORDEbase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 990ca4b..8e8a853 100644 (file)
 set(MODULE ANALYSIS)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ANALYSIS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS} 
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 697b1e7..83a3228 100644 (file)
 set(MODULE ANALYSISalice)
 
 # Module include folders in alphabetical order except ROOT
-include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ANALYSIS/${MODULE})
 
 # Additional include directories
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/OADB
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/OADB
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order 
index 0922b8e..53c41f4 100644 (file)
 set(MODULE ANALYSIScalib)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ANALYSIS/${MODULE})
 
 # Additional include folders in alphabetical ordere except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 0d40846..3f87568 100644 (file)
 set(MODULE ESDfilter)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ANALYSIS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALUtils
-                    ${CMAKE_SOURCE_DIR}/OADB
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/OADB
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources
index 9a9ab87..29aad43 100644 (file)
 set(MODULE EventMixing)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ANALYSIS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources
index 9fe9ea1..560adbb 100644 (file)
 set(MODULE Tender)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ANALYSIS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 8eca9d7..39b59a8 100644 (file)
 set(MODULE TenderSupplies)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ANALYSIS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/Tender
-                    ${CMAKE_SOURCE_DIR}/EMCAL
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALbase
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALrec
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALUtils
-                    ${CMAKE_SOURCE_DIR}/CORRFW
-                    ${CMAKE_SOURCE_DIR}/OADB
-                    ${CMAKE_SOURCE_DIR}/PHOS
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSbase
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSrec
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSUtils
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/T0
-                    ${CMAKE_SOURCE_DIR}/T0/T0rec
-                    ${CMAKE_SOURCE_DIR}/TOF/
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFbase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFrec
-                    ${CMAKE_SOURCE_DIR}/TPC
-                    ${CMAKE_SOURCE_DIR}/TPC/Base
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCbase
-                    ${CMAKE_SOURCE_DIR}/TRD
-                    ${CMAKE_SOURCE_DIR}/TRD/Cal
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDbase
-                    ${CMAKE_SOURCE_DIR}/VZERO
-                    ${CMAKE_SOURCE_DIR}/VZERO/VZERObase
-                    ${CMAKE_SOURCE_DIR}/VZERO/VZEROrec
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/Tender
+                    ${AliRoot_SOURCE_DIR}/EMCAL
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALbase
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALrec
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/CORRFW
+                    ${AliRoot_SOURCE_DIR}/OADB
+                    ${AliRoot_SOURCE_DIR}/PHOS
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSbase
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSrec
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSUtils
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/T0
+                    ${AliRoot_SOURCE_DIR}/T0/T0rec
+                    ${AliRoot_SOURCE_DIR}/TOF/
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFbase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFrec
+                    ${AliRoot_SOURCE_DIR}/TPC
+                    ${AliRoot_SOURCE_DIR}/TPC/Base
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCbase
+                    ${AliRoot_SOURCE_DIR}/TRD
+                    ${AliRoot_SOURCE_DIR}/TRD/Cal
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDbase
+                    ${AliRoot_SOURCE_DIR}/VZERO
+                    ${AliRoot_SOURCE_DIR}/VZERO/VZERObase
+                    ${AliRoot_SOURCE_DIR}/VZERO/VZEROrec
                    )
 
 # Sources
index 832a17f..801f694 100644 (file)
 set(MODULE BCM)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 981317f..dcff5c0 100644 (file)
 set(MODULE CORRFW)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 89a07c0..2b9f034 100644 (file)
 set(MODULE EMCALUtils)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/EMCAL/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/EMCAL/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 7de2db1..8ec4bf8 100644 (file)
 set(MODULE EMCALbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/EMCAL/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/EMCAL/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALraw
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALsim
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALUtils
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALraw
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALsim
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index c9d80d5..23ba67f 100644 (file)
 set(MODULE EMCALraw)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/EMCAL/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/EMCAL/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALUtils
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 9672286..a2e63d2 100644 (file)
 set(MODULE EMCALrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/EMCAL/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/EMCAL/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALbase
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALraw
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALsim
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALUtils
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALbase
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALraw
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALsim
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 42597f2..b3d3408 100644 (file)
 set(MODULE EMCALsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/EMCAL/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/EMCAL/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALbase
-                    ${CMAKE_SOURCE_DIR}/EMCAL/EMCALUtils
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/VZERO/VZERObase
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALbase
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/VZERO/VZERObase
                    )
 
 # Sources in alphabetical order
index fb83127..c43ace3 100644 (file)
 set(MODULE EVGEN)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/FASTSIM
-                    ${CMAKE_SOURCE_DIR}/LHAPDF
-                    ${CMAKE_SOURCE_DIR}/PYTHIA6/AliPythia6
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TEvtGen
+                    ${AliRoot_SOURCE_DIR}/FASTSIM
+                    ${AliRoot_SOURCE_DIR}/LHAPDF
+                    ${AliRoot_SOURCE_DIR}/PYTHIA6/AliPythia6
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TEvtGen
                    )
 
 # Sources
index 222b80c..f677e84 100644 (file)
 set(MODULE FASTSIM)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
                    )
 
 # Sources in alphabetical order
index 45dd281..a2d2073 100644 (file)
 set(MODULE FMDbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/FMD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/FMD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/FMD/FMDrec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/FMD/FMDrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 6081df9..381d131 100644 (file)
 set(MODULE FMDrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/FMD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/FMD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/FMD/FMDbase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/FMD/FMDbase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index f8eb112..ad4e636 100644 (file)
 set(MODULE FMDsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/FMD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/FMD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/FMD/FMDbase
-                    ${CMAKE_SOURCE_DIR}/FMD/FMDrec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/FMD/FMDbase
+                    ${AliRoot_SOURCE_DIR}/FMD/FMDrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 8d0a477..8a9dd50 100644 (file)
 set(MODULE FMDutil)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/FMD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/FMD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/FMD/FMDbase
-                    ${CMAKE_SOURCE_DIR}/FMD/FMDrec
-                    ${CMAKE_SOURCE_DIR}/FMD/FMDsim
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/FMD/FMDbase
+                    ${AliRoot_SOURCE_DIR}/FMD/FMDrec
+                    ${AliRoot_SOURCE_DIR}/FMD/FMDsim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 2cb53c0..ea0aba3 100644 (file)
 set(MODULE HMPIDbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/HMPID/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/HMPID/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 0cc61c9..7ccfa2b 100644 (file)
 set(MODULE HMPIDrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/HMPID/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/HMPID/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/HMPID/HMPIDbase
-                    ${CMAKE_SOURCE_DIR}/HMPID/HMPIDsim
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/HMPID/HMPIDbase
+                    ${AliRoot_SOURCE_DIR}/HMPID/HMPIDsim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 6ec95b4..148e2a6 100644 (file)
 set(MODULE HMPIDsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/HMPID/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/HMPID/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/HMPID/HMPIDbase
-                    ${CMAKE_SOURCE_DIR}/HMPID/HMPIDrec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/HMPID/HMPIDbase
+                    ${AliRoot_SOURCE_DIR}/HMPID/HMPIDrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 2ec34bf..1cf02dc 100644 (file)
 set(MODULE ITSbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ITS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ITS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSrec
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSsim
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/RAW/dateStream
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/TPC
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSrec
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSsim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/RAW/dateStream
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/TPC
                    )
 
 # Sources in alphabetical order
index 583f8df..53d5b35 100644 (file)
 set(MODULE ITSrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ITS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ITS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSbase
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSsim
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/TPC
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSbase
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSsim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/TPC
                    )
 
 # Sources in alphabetical order
index 14bfaf5..3d52026 100644 (file)
 set(MODULE ITSsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ITS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ITS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSbase
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSrec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/TPC
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSbase
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/TPC
                    )
 
 # Sources in alphabetical order
index f082656..47f25ad 100644 (file)
 set(MODULE ITSUpgradeBase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ITS/UPGRADE/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ITS/UPGRADE/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSbase
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSbase
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 91f55fe..a56b557 100644 (file)
 set(MODULE ITSUpgradeRec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ITS/UPGRADE/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ITS/UPGRADE/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSbase
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSrec
-                    ${CMAKE_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeBase
-                    ${CMAKE_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeSim
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSbase
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSrec
+                    ${AliRoot_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeBase
+                    ${AliRoot_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeSim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index d6be2b8..20572e7 100644 (file)
 set(MODULE ITSUpgradeSim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ITS/UPGRADE/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ITS/UPGRADE/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSbase
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSsim
-                    ${CMAKE_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeBase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSbase
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSsim
+                    ${AliRoot_SOURCE_DIR}/ITS/UPGRADE/ITSUpgradeBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 0ae3ed4..5eb8346 100644 (file)
 set(MODULE lhapdf)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/LHAPDF)
+include_directories(${AliRoot_SOURCE_DIR}/LHAPDF)
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/LHAPDF/lhapdf5.5.1
-                    ${CMAKE_SOURCE_DIR}/LHAPDF/lhapdf5.5.1/include
-                    ${CMAKE_SOURCE_DIR}/LHAPDF/lhapdf5.5.1/src
+                    ${AliRoot_SOURCE_DIR}/LHAPDF/lhapdf5.5.1
+                    ${AliRoot_SOURCE_DIR}/LHAPDF/lhapdf5.5.1/include
+                    ${AliRoot_SOURCE_DIR}/LHAPDF/lhapdf5.5.1/src
                    )
 
 # Sources in alphabetical order
@@ -107,7 +107,7 @@ add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx ${CSRCS} ${FSRCS})
 # Additional compilation flags
 set(CMAKE_C_FLAGS  "${CMAKE_C_FLAGS} -ansi")
 set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g" Fortran_FORMAT FREE )
-add_definitions(-DDEFAULTPREFIXPATH="NONE"  -DDEFAULTLHAPATH="${CMAKE_SOURCE_DIR}/LHAPDF/PDFsets")
+add_definitions(-DDEFAULTPREFIXPATH="NONE"  -DDEFAULTLHAPATH="${AliRoot_SOURCE_DIR}/LHAPDF/PDFsets")
 
 # System dependent: Modify the way the library is build
 if(${CMAKE_SYSTEM} MATCHES Darwin)
index 6f5437c..24350be 100644 (file)
@@ -17,7 +17,7 @@
 set(MODULE microcern)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MICROCERN)
+include_directories(${AliRoot_SOURCE_DIR}/MICROCERN)
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
index 84398b8..a9ea479 100644 (file)
 set(MODULE MUONbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONgeometry
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONraw
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONtrigger
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcalib
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONgeometry
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONraw
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONtrigger
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 095628e..6f5e53e 100644 (file)
 set(MODULE MUONcalib)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index d4135b6..99eb9d9 100644 (file)
 set(MODULE MUONcalign)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONbase
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONgeometry
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONrec
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONbase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcalib
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONgeometry
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONrec
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 3c8c433..6bfd82e 100644 (file)
 set(MODULE MUONcore)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 9e6dff8..f88c4d4 100644 (file)
 set(MODULE MUONevaluation)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONbase
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONgeometry
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONraw
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONrec
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONsim
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONtrigger
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONbase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcalib
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONgeometry
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONraw
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONrec
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONsim
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONtrigger
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 6e8746b..f9083ce 100644 (file)
 set(MODULE MUONgeometry)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 5786bc4..3951156 100644 (file)
 set(MODULE MUONgraphics)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONbase
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONgeometry
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONrec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONbase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcalib
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONgeometry
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index f287788..b960782 100644 (file)
 set(MODULE MUONmapping)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 96a1ad1..a283837 100644 (file)
 set(MODULE MUONmpgraphics)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index b8598e6..d4acfa8 100644 (file)
 set(MODULE MUONraw)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 9c1e25a..40c95d4 100644 (file)
 set(MODULE MUONrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONbase
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONgeometry
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONraw
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONtrigger
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONbase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcalib
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONgeometry
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONraw
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONtrigger
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index e9b3c3c..e93a4ff 100644 (file)
 set(MODULE MUONshuttle)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONgeometry
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcalib
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONgeometry
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index c6def47..c6d0977 100644 (file)
 set(MODULE MUONsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONbase
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONgeometry
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONraw
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONtrigger
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONbase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcalib
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONgeometry
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONraw
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONtrigger
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 5733aca..e605a6c 100644 (file)
 set(MODULE MUONtrigger)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/MUON/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/MUON/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcalib
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONcore
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONmapping
-                    ${CMAKE_SOURCE_DIR}/MUON/MUONraw
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcalib
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONcore
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONmapping
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONraw
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index bb00be9..6e5a091 100644 (file)
 set(MODULE OADB)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources
index 9a24210..39f9fd5 100644 (file)
 set(MODULE PHOSUtils)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PHOS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PHOS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 52413e0..1ffa016 100644 (file)
 set(MODULE PHOSbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PHOS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PHOS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSrec
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSsim
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSUtils
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSrec
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSsim
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSUtils
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index cb45c68..8e0dac0 100644 (file)
 set(MODULE PHOSpi0Calib)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PHOS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PHOS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSbase
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSrec
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSUtils
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSbase
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSrec
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSUtils
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 677b83a..27d52d2 100644 (file)
 set(MODULE PHOSrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PHOS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PHOS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSbase
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSUtils
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSsim
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSbase
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSUtils
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSsim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 056ef8b..5ea8ca9 100644 (file)
 set(MODULE PHOSshuttle)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PHOS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PHOS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSbase
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSbase
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index be09db1..7d5b20d 100644 (file)
 set(MODULE PHOSsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PHOS/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PHOS/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSbase
-                    ${CMAKE_SOURCE_DIR}/PHOS/PHOSUtils
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSbase
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSUtils
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 54ff75a..a751c8f 100644 (file)
 set(MODULE PMDbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PMD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PMD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/PMD/PMDsim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/PMD/PMDsim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 6c57aff..8922ef7 100644 (file)
 set(MODULE PMDrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PMD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PMD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/PMD/PMDbase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/PMD/PMDbase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index bba0592..bb808ca 100644 (file)
 set(MODULE PMDsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PMD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PMD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/PMD/PMDbase
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/PMD/PMDbase
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 0539ec8..a0fd518 100644 (file)
 set(MODULE AliPythia6)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PYTHIA6/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PYTHIA6/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EVGEN
-                    ${CMAKE_SOURCE_DIR}/FASTSIM
-                    ${CMAKE_SOURCE_DIR}/LHAPDF
-                    ${CMAKE_SOURCE_DIR}/PYTHIA6/pythia6
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/EVGEN
+                    ${AliRoot_SOURCE_DIR}/FASTSIM
+                    ${AliRoot_SOURCE_DIR}/LHAPDF
+                    ${AliRoot_SOURCE_DIR}/PYTHIA6/pythia6
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 08c173e..845eb56 100644 (file)
 set(MODULE qpythia)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PYTHIA6/QPYTHIA)
+include_directories(${AliRoot_SOURCE_DIR}/PYTHIA6/QPYTHIA)
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/FASTSIM
-                    ${CMAKE_SOURCE_DIR}/PYTHIA6/pythia6
+                    ${AliRoot_SOURCE_DIR}/FASTSIM
+                    ${AliRoot_SOURCE_DIR}/PYTHIA6/pythia6
                    )
 
 # Sources in alphabetical order
@@ -38,7 +38,7 @@ set(FSRCS
     pythia-6.4.14.f
     pyquen1_5.F
     q-pyshow.1.2.F
-    ${CMAKE_SOURCE_DIR}/PYTHIA6/pythia6/pyevwt.f
+    ${AliRoot_SOURCE_DIR}/PYTHIA6/pythia6/pyevwt.f
    )
 
 # C sources
index 90fccaa..a8e5c71 100644 (file)
 set(MODULE pythia6.4.21)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PYTHIA6/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PYTHIA6/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/PYTHIA6/pythia6
+                    ${AliRoot_SOURCE_DIR}/PYTHIA6/pythia6
                    )
 
 # Sources in alphabetical order
@@ -34,8 +34,8 @@ set(FSRCS
     pythia6_common_block_address.F
     tpythia6_called_from_cc.F
     pythia-6.4.21.f
-    ${CMAKE_SOURCE_DIR}/PYTHIA6//pythia6/pyevwt.f
-    ${CMAKE_SOURCE_DIR}/PYTHIA6/QPYTHIA/pyquen1_5.F
+    ${AliRoot_SOURCE_DIR}/PYTHIA6//pythia6/pyevwt.f
+    ${AliRoot_SOURCE_DIR}/PYTHIA6/QPYTHIA/pyquen1_5.F
    )
 
 # C sources
index fb7b8cf..c4b6f0d 100644 (file)
 set(MODULE pythia6.4.25)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PYTHIA6/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PYTHIA6/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/PYTHIA6/pythia6
+                    ${AliRoot_SOURCE_DIR}/PYTHIA6/pythia6
                    )
 
 # Sources in alphabetical order
 set(SRCS
-     ${CMAKE_SOURCE_DIR}/PYTHIA6/pythia6.4.21/AliPythia64Rndm.cxx
+     ${AliRoot_SOURCE_DIR}/PYTHIA6/pythia6.4.21/AliPythia64Rndm.cxx
    )
 
 # Fortran sources
@@ -35,9 +35,9 @@ set(FSRCS
     tpythia6_called_from_cc.F
     pythia-6.4.25.f
     pydummy_6.4.25.f
-    ${CMAKE_SOURCE_DIR}/PYTHIA6/POWHEG-BOX/setup-PYTHIA-lhef.f
-    ${CMAKE_SOURCE_DIR}/PYTHIA6/POWHEG-BOX/lhefread.f 
-    ${CMAKE_SOURCE_DIR}/PYTHIA6/pythia6/pyevwt.f
+    ${AliRoot_SOURCE_DIR}/PYTHIA6/POWHEG-BOX/setup-PYTHIA-lhef.f
+    ${AliRoot_SOURCE_DIR}/PYTHIA6/POWHEG-BOX/lhefread.f 
+    ${AliRoot_SOURCE_DIR}/PYTHIA6/pythia6/pyevwt.f
    )
 
 # C sources
index 824fce1..1e3838c 100644 (file)
@@ -17,7 +17,7 @@
 set(MODULE pythia6)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/PYTHIA6/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/PYTHIA6/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
index 6c3261d..377e7ab 100644 (file)
 set(MODULE MDC)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/RAW/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/RAW/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ITS
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TPC
+                    ${AliRoot_SOURCE_DIR}/ITS
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TPC
                    )
 
 # Sources in alphabetical order
index 4358d69..8ecf465 100644 (file)
 set(MODULE RAWDatabase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/RAW/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/RAW/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index f1120ec..7820124 100644 (file)
 set(MODULE RAWDatarec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/RAW/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/RAW/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/HLT/rec
-                    ${CMAKE_SOURCE_DIR}/RAW/dateStream
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/HLT/rec
+                    ${AliRoot_SOURCE_DIR}/RAW/dateStream
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 # Sources in alphabetical order
 set(SRCS
index a2144cc..9be1e8e 100644 (file)
 set(MODULE RAWDatarecOnline)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/RAW/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/RAW/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 5e4d028..ea80cf9 100644 (file)
 set(MODULE RAWDatasim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/RAW/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/RAW/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 99008c9..53450ca 100644 (file)
 
 # Module
 set (MODULE alimdc)
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Aditional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS} 
-                    ${CMAKE_SOURCE_DIR}/RAW/MDC
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/MDC
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 link_directories(${ROOT_LIBDIR})
index d1627ab..aeaa8b4 100644 (file)
 set(MODULE alirawdump)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/RAW/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/RAW/${MODULE})
 
 # Module aditional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 link_directories(${ROOT_LIBDIR})
index 28206ca..3de3db6 100644 (file)
 # Module
 set(MODULE dateStream)
 
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Aditional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 
index 62f4848..c9e3788 100644 (file)
@@ -51,7 +51,7 @@ find_package (Threads)
 
 # load some common cmake macros
 # set path, where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules")
+set(CMAKE_MODULE_PATH "${AliRoot_SOURCE_DIR}/cmake_modules")
 message(STATUS "Using cmake module path '${CMAKE_MODULE_PATH}'")
 include(CommonMacros)
 
@@ -117,17 +117,17 @@ message(STATUS "Build type is '${CMAKE_BUILD_TYPE}'")
 
 
 # redirect output files
-#set(LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/lib")
+#set(LIBRARY_OUTPUT_PATH "${AliRoot_SOURCE_DIR}/lib")
 message(STATUS "Using library output path '${LIBRARY_OUTPUT_PATH}'")
-#set(EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin")
+#set(EXECUTABLE_OUTPUT_PATH "${AliRoot_SOURCE_DIR}/bin")
 message(STATUS "Using executable output path '${EXECUTABLE_OUTPUT_PATH}'")
 
 
-# make CMAKE_SOURCE_DIR accessible in source code via predefined macro CMAKE_SOURCE_DIR
-if(CMAKE_SOURCE_DIR)
-  add_definitions(-D'CMAKE_SOURCE_DIR=\"${CMAKE_SOURCE_DIR}\"')
+# make AliRoot_SOURCE_DIR accessible in source code via predefined macro AliRoot_SOURCE_DIR
+if(AliRoot_SOURCE_DIR)
+  add_definitions(-D'AliRoot_SOURCE_DIR=\"${AliRoot_SOURCE_DIR}\"')
 else()
-  add_definitions(-D'CMAKE_SOURCE_DIR=\"\"')
+  add_definitions(-D'AliRoot_SOURCE_DIR=\"\"')
 endif()
 
 
@@ -142,7 +142,7 @@ if(Subversion_FOUND)
     message(STATUS "Could not find subversion command 'svnversion'. Repository version unknown.")
   else()
     execute_process(
-      COMMAND ${SVNVERSION_EXECUTABLE} "${CMAKE_SOURCE_DIR}"
+      COMMAND ${SVNVERSION_EXECUTABLE} "${AliRoot_SOURCE_DIR}"
       OUTPUT_VARIABLE SVN_VERSION
       RESULT_VARIABLE _SVNVERSION_RETURN
       OUTPUT_STRIP_TRAILING_WHITESPACE)
@@ -169,13 +169,13 @@ if(NOT DOXYGEN_FOUND)
   message(WARNING "Cannot find Doxygen. No HTML documentation will be generated.")
 else()
   set(DOXYGEN_TARGET  "doxygen")
-  set(DOXYGEN_DOC_DIR "${CMAKE_SOURCE_DIR}/doxygen")
-  set(DOXYGEN_CONF    "${CMAKE_SOURCE_DIR}/starlightDoxyfile.conf")
+  set(DOXYGEN_DOC_DIR "${AliRoot_SOURCE_DIR}/doxygen")
+  set(DOXYGEN_CONF    "${AliRoot_SOURCE_DIR}/starlightDoxyfile.conf")
   message(STATUS "Run 'make ${DOXYGEN_TARGET}' to create Doxygen documentation files in '${DOXYGEN_DOC_DIR}'")
   add_custom_target(${DOXYGEN_TARGET}
     COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_CONF}
     DEPENDS ${DOXYGEN_CONF}
-    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+    WORKING_DIRECTORY ${AliRoot_SOURCE_DIR}
                )
 endif()
 
@@ -221,7 +221,7 @@ if(ENABLE_DPMJET)
 
 # set include directories
 set(INCLUDE_DIRECTORIES
-       ${CMAKE_SOURCE_DIR}/include
+       ${AliRoot_SOURCE_DIR}/include
        ${PROJECT_BINARY_DIR}
 #      ${PYTHIA8_INCLUDE_DIR}
        )
index c0d98cf..0825149 100644 (file)
@@ -39,7 +39,7 @@ RM = /usr/local/bin/cmake -E remove -f
 CMAKE_EDIT_COMMAND = /usr/local/bin/ccmake
 
 # The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /home/gorbunov/star/starlight/merge/joey1
+AliRoot_SOURCE_DIR = /home/gorbunov/star/starlight/merge/joey1
 
 # The top-level build directory on which CMake was run.
 CMAKE_BINARY_DIR = /home/gorbunov/star/starlight/merge/joey1
@@ -50,7 +50,7 @@ CMAKE_BINARY_DIR = /home/gorbunov/star/starlight/merge/joey1
 # Special rule for the target edit_cache
 edit_cache:
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
-       /usr/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+       /usr/local/bin/ccmake -H$(AliRoot_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
 .PHONY : edit_cache
 
 # Special rule for the target edit_cache
@@ -60,7 +60,7 @@ edit_cache/fast: edit_cache
 # Special rule for the target rebuild_cache
 rebuild_cache:
        @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
-       /usr/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+       /usr/local/bin/cmake -H$(AliRoot_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
 .PHONY : rebuild_cache
 
 # Special rule for the target rebuild_cache
@@ -95,7 +95,7 @@ preinstall/fast:
 
 # clear depends
 depend:
-       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+       $(CMAKE_COMMAND) -H$(AliRoot_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
 .PHONY : depend
 
 #=============================================================================
@@ -796,6 +796,6 @@ help:
 # No rule that depends on this can have commands that come from listfiles
 # because they might be regenerated.
 cmake_check_build_system:
-       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+       $(CMAKE_COMMAND) -H$(AliRoot_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
 .PHONY : cmake_check_build_system
 
index 0ee1530..7d938e3 100644 (file)
@@ -67,7 +67,7 @@ endfunction(make_executable)
 
 
 macro(enforce_out_of_source_build)
-  if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
+  if(${AliRoot_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
     message(FATAL_ERROR "Building this project in the source directory is not allowed. Please remove CMakeCache.txt, create a build directory, and run cmake there, for example:
 rm CMakeCache.txt
 mkdir build && cd build
index 75e9b94..03a17e5 100644 (file)
@@ -86,10 +86,10 @@ printSvnVersion()
 }
 
 
-#ifndef CMAKE_SOURCE_DIR  // CMAKE_SOURCE_DIR set by Makefile
-#define CMAKE_SOURCE_DIR "undefined"
+#ifndef AliRoot_SOURCE_DIR  // AliRoot_SOURCE_DIR set by Makefile
+#define AliRoot_SOURCE_DIR "undefined"
 #endif
-inline std::string compileDir() { return CMAKE_SOURCE_DIR; }
+inline std::string compileDir() { return AliRoot_SOURCE_DIR; }
 
 inline
 void
index 0b983b4..268203b 100644 (file)
 set(MODULE STAT)
 
 # Module include folders
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Additional include directories in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 # Sources in alphabetical order
 set(SRCS
index eaf2274..232ec11 100644 (file)
 set (MODULE AOD)
 
 # Module include folders
-include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/STEER/${MODULE})
 
 # Additional include directories - alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources - alphabetical order
index d0bbf8f..2bc196a 100644 (file)
 set(MODULE CDB)
 
 # Module include folders
-include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/STEER/${MODULE})
 
 # Additional include directories
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                     ${CMAKE_BINARY_DIR}/version/
                    )
 
index 59794bc..78982a5 100644 (file)
 set(MODULE ESD)
 
 # Module include folders
-include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/STEER/${MODULE})
 
 # Additional include directories - alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase)
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase)
 
 # Sources - alphabetical order
 set(SRCS
index 7e3f5be..19e72bb 100644 (file)
 set(MODULE STEER)
 
 # Module include folders
-include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/STEER/${MODULE})
 
 # Additional include directories - alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/HLT/sim
-                    ${CMAKE_SOURCE_DIR}/RAW/
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/HLT/sim
+                    ${AliRoot_SOURCE_DIR}/RAW/
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                     ${CMAKE_BINARY_DIR}/version/
                    )
 
index 0f4c159..af58ddb 100644 (file)
@@ -17,7 +17,7 @@
 set (MODULE STEERBase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/STEER/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/STEER/${MODULE})
 
 # Additional includes - alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS})
index a92b960..e22e52e 100644 (file)
 set(MODULE STRUCT)
 
 # Module include folders
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE})
 
 # Additional include directories in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 # Sources in alphabetical order
 set(SRCS
index f190d39..b407e53 100644 (file)
 set(MODULE T0base)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/T0/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/T0/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 7086e6b..48f1bde 100644 (file)
 set(MODULE T0calib)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/T0/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/T0/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/T0/T0base
-                    ${CMAKE_SOURCE_DIR}/T0/T0rec
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/T0/T0base
+                    ${AliRoot_SOURCE_DIR}/T0/T0rec
                    )
 
 # Sources in alphabetical order
index 413225e..9e8662c 100644 (file)
 set(MODULE T0rec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/T0/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/T0/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/T0/T0base
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/T0/T0base
                    )
 
 # Sources in alphabetical order
index 205162d..d244855 100644 (file)
 set(MODULE T0shuttle)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/T0/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/T0/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/T0/T0base
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/T0/T0base
                    )
 
 # Sources in alphabetical order
index 7e54ccb..eb728aa 100644 (file)
 set(MODULE T0sim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/T0/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/T0/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/T0/T0base
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/T0/T0base
                    )
 
 # Sources in alphabetical order
index cf27df7..a9c1a1c 100644 (file)
 set(MODULE THydjet)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE}
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE}
                    )
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EVGEN
-                    ${CMAKE_SOURCE_DIR}/PYTHIA6/pythia6
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/EVGEN
+                    ${AliRoot_SOURCE_DIR}/PYTHIA6/pythia6
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources
index c1a136e..a841718 100644 (file)
 set(MODULE TOFbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TOF/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TOF/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFrec
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFsim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFrec
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFsim
                    )
 
 # Sources in alphabetical order
index 29ab550..7901c94 100644 (file)
 set(MODULE TOFcalib)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TOF/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TOF/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/STEER/AOD
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFbase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFrec
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFbase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFrec
                    )
 
 # Sources in alphabetical order
index d9189b3..b41df2b 100644 (file)
 set(MODULE TOFrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TOF/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TOF/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFbase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFsim
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFbase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFsim
                    )
 
 # Sources in alphabetical order
index bae17b3..543e7e9 100644 (file)
 set(MODULE TOFsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TOF/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TOF/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFbase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFbase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFrec
                    )
 
 # Sources in alphabetical order
index 5138afa..fe0ffb1 100644 (file)
 set(MODULE TPCbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TPC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TPC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS} 
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/dateStream
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/dateStream
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCrec
                     ${CMAKE_BINARY_DIR}/version
                    )
 
index d5022ce..0d6c02e 100644 (file)
 set(MODULE TPCcalib)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TPC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TPC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/RAW/dateStream
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STAT
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCbase
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCrec
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/RAW/dateStream
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STAT
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCbase
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCrec
                    )
 
 # Sources in alphabetical order
index 6cf27a7..84f9ee2 100644 (file)
 set(MODULE TPCmon)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TPC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TPC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/dateStream
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarecOnline
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/dateStream
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarecOnline
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index 02fda22..7d2cc70 100644 (file)
 set(MODULE TPCrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TPC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TPC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCbase
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCsim
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCbase
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCsim
                    )
 
 # Sources in alphabetical order
index 7a2e346..a2de5ec 100644 (file)
 set(MODULE TPCsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TPC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TPC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatasim
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCbase
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatasim
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCbase
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCrec
                    )
 
 # Sources in alphabetical order
index 7053a96..aa0d163 100644 (file)
 set(MODULE TPCutil)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TPC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TPC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TPC/TPCbase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TPC/TPCbase
                    )
 
 # Sources in alphabetical order
index a674d21..75c7d48 100644 (file)
 set(MODULE TPHIC)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE}
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE}
                    )
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EVGEN
-                    ${CMAKE_SOURCE_DIR}/LHAPDF
-                    ${CMAKE_SOURCE_DIR}/PYTHIA6/AliPythia6
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/EVGEN
+                    ${AliRoot_SOURCE_DIR}/LHAPDF
+                    ${AliRoot_SOURCE_DIR}/PYTHIA6/AliPythia6
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
                    )
 
 # Sources
index 234590c..f0f6a49 100644 (file)
 set(MODULE TRDbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TRD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TRD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDrec
                    )
 
 # Sources in alphabetical order
index 8afbb89..0752010 100644 (file)
 set(MODULE TRDcalib)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TRD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TRD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDbase
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDrec
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDbase
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDrec
                    )
 
 # Sources in alphabetical order
index dacb9c1..746d204 100644 (file)
 set(MODULE TRDgui)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TRD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TRD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index bc7aa05..b73b272 100644 (file)
 set(MODULE TRDqaAnalysis)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TRD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TRD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
-                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSISalice
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDbase
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDrec
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDbase
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDrec
                    )
 
 # Sources in alphabetical order
index b3c0f69..439dec7 100644 (file)
 set(MODULE TRDrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TRD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TRD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STAT
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDbase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STAT
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDbase
                    )
 
 # Sources in alphabetical order
index 12b98a9..13a12d9 100644 (file)
 set(MODULE TRDsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TRD/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/TRD/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/T0/T0base
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFbase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFsim
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDbase
-                    ${CMAKE_SOURCE_DIR}/TRD/TRDrec
-                    ${CMAKE_SOURCE_DIR}/VZERO/VZERObase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/T0/T0base
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFbase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFsim
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDbase
+                    ${AliRoot_SOURCE_DIR}/TRD/TRDrec
+                    ${AliRoot_SOURCE_DIR}/VZERO/VZERObase
                    )
 
 # Sources in alphabetical order
index 21215ee..f9d32ab 100644 (file)
 set(MODULE TRIGGERbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/TRIGGER)
+include_directories(${AliRoot_SOURCE_DIR}/TRIGGER)
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/ITS/ITSbase
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/TOF/TOFbase
+                    ${AliRoot_SOURCE_DIR}/ITS/ITSbase
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/TOF/TOFbase
                    )
 
 # Sources in alphabetical order
index 63c10b9..14b0c41 100644 (file)
 set(MODULE TTherminator)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE}
-                    ${CMAKE_SOURCE_DIR}/${MODULE}/Therminator
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE}
+                    ${AliRoot_SOURCE_DIR}/${MODULE}/Therminator
                    )
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EVGEN
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/EVGEN
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources
index 60a1d48..015cbbf 100644 (file)
 set(MODULE TUHKMgen)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/${MODULE}
-                    ${CMAKE_SOURCE_DIR}/${MODULE}/UHKM
+include_directories(${AliRoot_SOURCE_DIR}/${MODULE}
+                    ${AliRoot_SOURCE_DIR}/${MODULE}/UHKM
                    )
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/EVGEN
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/EVGEN
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources
index 3b23f46..f8d8e87 100644 (file)
 set(MODULE VZERObase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/VZERO/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/VZERO/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/VZERO/VZEROrec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/VZERO/VZEROrec
                    )
 
 # Sources in alphabetical order
index 2c278b1..a44333a 100644 (file)
 set(MODULE VZEROrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/VZERO/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/VZERO/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/dateStream
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/VZERO/VZERObase
+                    ${AliRoot_SOURCE_DIR}/RAW/dateStream
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/VZERO/VZERObase
                    )
 
 # Sources in alphabetical order
index 5cb7e53..52a0d77 100644 (file)
 set(MODULE VZEROsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/VZERO/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/VZERO/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/VZERO/VZERObase
-                    ${CMAKE_SOURCE_DIR}/VZERO/VZEROrec
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/VZERO/VZERObase
+                    ${AliRoot_SOURCE_DIR}/VZERO/VZEROrec
                    )
 
 # Sources in alphabetical order
index c709fce..82741b3 100644 (file)
 set(MODULE ZDCbase)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ZDC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ZDC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
 # Sources in alphabetical order
index ee1bb0b..77ad05b 100644 (file)
 set(MODULE ZDCrec)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ZDC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ZDC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/ZDC/ZDCbase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ZDC/ZDCbase
                    )
 
 # Sources in alphabetical order
index bb3466b..1fde81e 100644 (file)
 set(MODULE ZDCsim)
 
 # Module include folder
-include_directories(${CMAKE_SOURCE_DIR}/ZDC/${MODULE})
+include_directories(${AliRoot_SOURCE_DIR}/ZDC/${MODULE})
 
 # Additional include folders in alphabetical order except ROOT
 include_directories(${ROOT_INCLUDE_DIRS}
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatabase
-                    ${CMAKE_SOURCE_DIR}/RAW/RAWDatarec
-                    ${CMAKE_SOURCE_DIR}/STEER/CDB
-                    ${CMAKE_SOURCE_DIR}/STEER/ESD
-                    ${CMAKE_SOURCE_DIR}/STEER/STEER
-                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
-                    ${CMAKE_SOURCE_DIR}/ZDC/ZDCbase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatabase
+                    ${AliRoot_SOURCE_DIR}/RAW/RAWDatarec
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/ZDC/ZDCbase
                    )
 
 # Sources in alphabetical order
index 2eb39c6..1a5c2aa 100644 (file)
@@ -42,7 +42,7 @@ function(ALICE_CorrectPaths _output value )
     set(external)
     string(REGEX MATCH "^/" external "${path}")
     if(NOT external)
-      list(APPEND corrected "${CMAKE_SOURCE_DIR}/${path}" )
+      list(APPEND corrected "${AliRoot_SOURCE_DIR}/${path}" )
     else()
       list(APPEND corrected "${path}")
     endif(NOT external)
@@ -108,12 +108,12 @@ endfunction(ALICE_RootConfig)
 macro(ALICE_CheckOutOfSourceBuild)
   
   #Check if previous in-source build failed
-  if(EXISTS ${CMAKE_SOURCE_DIR}/CMakeCache.txt OR EXISTS ${CMAKE_SOURCE_DIR}/CMakeFiles)
+  if(EXISTS ${AliRoot_SOURCE_DIR}/CMakeCache.txt OR EXISTS ${AliRoot_SOURCE_DIR}/CMakeFiles)
     message(FATAL_ERROR "CMakeCache.txt or CMakeFiles exists in source directory! Please remove them before running cmake $ALICE_ROOT")
-  endif(EXISTS ${CMAKE_SOURCE_DIR}/CMakeCache.txt OR EXISTS ${CMAKE_SOURCE_DIR}/CMakeFiles)
+  endif(EXISTS ${AliRoot_SOURCE_DIR}/CMakeCache.txt OR EXISTS ${AliRoot_SOURCE_DIR}/CMakeFiles)
   
   #Get Real Paths of the source and binary directories
-  get_filename_component(srcdir "${CMAKE_SOURCE_DIR}" REALPATH)
+  get_filename_component(srcdir "${AliRoot_SOURCE_DIR}" REALPATH)
   get_filename_component(bindir "${CMAKE_BINARY_DIR}" REALPATH)
   
   #Check for in-source builds
@@ -455,7 +455,7 @@ macro(ALICE_BuildLibrary)
   include_directories(${PINC})  
   include_directories(${EINCLUDE})
   include_directories(${CMAKE_INCLUDE_EXPORT_DIRECTORY}/FromTemplate)
-  include_directories(${CMAKE_SOURCE_DIR})
+  include_directories(${AliRoot_SOURCE_DIR})
   
   add_library(${PACKAGE} SHARED ${PCS} ${PFS} ${PS} ${PDS})
   set_target_properties(${PACKAGE} PROPERTIES SUFFIX .so)  
@@ -585,8 +585,8 @@ macro(ALICE_CopyHeaders)
     foreach(header ${HEADERS})
       get_filename_component( header_name ${header} NAME )
       add_custom_command(OUTPUT ${PEXPORTDEST}/${header_name}
-                         COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/${MODULE}/${header} ${PEXPORTDEST}/${header_name}
-                        DEPENDS ${CMAKE_SOURCE_DIR}/${MODULE}/${header})
+                         COMMAND ${CMAKE_COMMAND} -E copy ${AliRoot_SOURCE_DIR}/${MODULE}/${header} ${PEXPORTDEST}/${header_name}
+                        DEPENDS ${AliRoot_SOURCE_DIR}/${MODULE}/${header})
       list(APPEND _headersdep ${PEXPORTDEST}/${header_name})
       install(FILES ${header} DESTINATION include)
     endforeach(header)
@@ -605,13 +605,13 @@ macro(ALICE_GenerateLinkDef)
   endforeach(class)
 
   add_custom_command(OUTPUT ${PDAL}
-    COMMAND sh ${CMAKE_SOURCE_DIR}/cmake/GenerateLinkDef.sh ${PCLASSES} > ${PDAL} 
-    DEPENDS ${PCINTHDRS} ${CMAKE_SOURCE_DIR}/cmake/GenerateLinkDef.sh)
+    COMMAND sh ${AliRoot_SOURCE_DIR}/cmake/GenerateLinkDef.sh ${PCLASSES} > ${PDAL} 
+    DEPENDS ${PCINTHDRS} ${AliRoot_SOURCE_DIR}/cmake/GenerateLinkDef.sh)
 endmacro(ALICE_GenerateLinkDef)
 
 macro(ALICE_BuildPAR)
   
-  if(EXISTS ${CMAKE_SOURCE_DIR}/${MODULE}/PROOF-INF.${PACKAGE})
+  if(EXISTS ${AliRoot_SOURCE_DIR}/${MODULE}/PROOF-INF.${PACKAGE})
     set(PARSRCS)
     foreach(file ${SRCS} ${HDRS} ${FSRCS} ${DHDR} ${OTHERS} )
       get_filename_component(srcdir ${file} PATH)
@@ -651,7 +651,7 @@ macro(ALICE_BuildPAR)
     add_dependencies(test-par-all test-${PACKAGE}.par)
     add_dependencies(test-${MODULE}-par-all test-${PACKAGE}.par)
 
-  endif(EXISTS ${CMAKE_SOURCE_DIR}/${MODULE}/PROOF-INF.${PACKAGE})
+  endif(EXISTS ${AliRoot_SOURCE_DIR}/${MODULE}/PROOF-INF.${PACKAGE})
   # endif(EXISTS ${ALICE_ROOT}/${MODULE}/PROOF-INF.${PACKAGE})
 
 endmacro(ALICE_BuildPAR)
index 8239b22..ed80f50 100644 (file)
@@ -66,14 +66,14 @@ endfunction()
 
 foreach(oldetect ${ONLINEDETECTORS})
 detector_module(h_module ${oldetect})
-  list(APPEND mod "-I${CMAKE_SOURCE_DIR}/${h_module}")
+  list(APPEND mod "-I${AliRoot_SOURCE_DIR}/${h_module}")
 endforeach(oldetect ${ONLINEDETECTORS})
-list(APPEND mod "-I${CMAKE_SOURCE_DIR}/include" "-I${CMAKE_SOURCE_DIR}/STEER" "-I${CMAKE_SOURCE_DIR}/ANALYSIS" "-I${CMAKE_SOURCE_DIR}/RAW" "-I${CMAKE_SOURCE_DIR}/STEER/STEER" "-I${CMAKE_SOURCE_DIR}/STEER/CDB" "-I${ROOTINCDIR}" "-I${CMAKE_SOURCE_DIR}/STEER/STEERBase" "-I${CMAKE_SOURCE_DIR}/STEER/AOD" "-I${CMAKE_SOURCE_DIR}/STEER/ESD" "-I${CMAKE_SOURCE_DIR}/MUON/mapping" "-I${CMAKE_SOURCE_DIR}/TPC/Base" "-I$ENV{AMORE}/include/amore")
+list(APPEND mod "-I${AliRoot_SOURCE_DIR}/include" "-I${AliRoot_SOURCE_DIR}/STEER" "-I${AliRoot_SOURCE_DIR}/ANALYSIS" "-I${AliRoot_SOURCE_DIR}/RAW" "-I${AliRoot_SOURCE_DIR}/STEER/STEER" "-I${AliRoot_SOURCE_DIR}/STEER/CDB" "-I${ROOTINCDIR}" "-I${AliRoot_SOURCE_DIR}/STEER/STEERBase" "-I${AliRoot_SOURCE_DIR}/STEER/AOD" "-I${AliRoot_SOURCE_DIR}/STEER/ESD" "-I${AliRoot_SOURCE_DIR}/MUON/mapping" "-I${AliRoot_SOURCE_DIR}/TPC/Base" "-I$ENV{AMORE}/include/amore")
 
 # ----------Common stuff-------------------
 
 #file(GLOB_RECURSE _dafiles $ENV{ALICE_ROOT}/*da.cxx)
-file(GLOB_RECURSE _dafiles ${CMAKE_SOURCE_DIR}/*da.cxx)
+file(GLOB_RECURSE _dafiles ${AliRoot_SOURCE_DIR}/*da.cxx)
 
 set (DAINSTALL "$ENV{ALICE_INSTALL}/DA")
 if(DAINSTALL STREQUAL "/DA") 
@@ -130,7 +130,7 @@ else()
 endif(DAQDALIB_PATH)
 set(DAQDALIB "${DAQDADIR}/libdaqDA.a")
 
-include_directories(${DAQDADIR} ${CMAKE_SOURCE_DIR}/RAW ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/STEER)
+include_directories(${DAQDADIR} ${AliRoot_SOURCE_DIR}/RAW ${AliRoot_SOURCE_DIR}/include ${AliRoot_SOURCE_DIR}/STEER)
 include_directories(SYSTEM ${ROOTINCDIR})
 
 # ----------Create All Valid targets---------
@@ -171,10 +171,10 @@ foreach(detector ${ONLINEDETECTORS} )
 #Get detector algorithms for this detector
   foreach(dafile ${_dafiles})
 
-    string(REGEX MATCH "${CMAKE_SOURCE_DIR}/${DAMODULE}/${DAMODULE}${SUBDAMODULE}" match ${dafile})
+    string(REGEX MATCH "${AliRoot_SOURCE_DIR}/${DAMODULE}/${DAMODULE}${SUBDAMODULE}" match ${dafile})
 #Found a valid target name
        if(match)
-      string(REGEX REPLACE "${CMAKE_SOURCE_DIR}/${DAMODULE}/${DAMODULE}${SUBDAMODULE}(.*)da\\.cxx" "\\1" DANAME ${dafile})
+      string(REGEX REPLACE "${AliRoot_SOURCE_DIR}/${DAMODULE}/${DAMODULE}${SUBDAMODULE}(.*)da\\.cxx" "\\1" DANAME ${dafile})
 #Check for default DA 
          if(DANAME)
            set(DATARGETNAME "daqDA-${ONLINEDETECTORNAME}-${DANAME}")
@@ -205,7 +205,7 @@ foreach(detector ${ONLINEDETECTORS} )
          set(DAMAKEFILE "${DATARGETDIR}/${DAMODULE}${SUBDAMODULE}${DANAME}da.make")
 
   
-      file(READ "${CMAKE_SOURCE_DIR}/${DASRC}" _dasrc)
+      file(READ "${AliRoot_SOURCE_DIR}/${DASRC}" _dasrc)
          getinfo(DACONTACT "Contact" ${_dasrc})
          getinfo(DALINKPAGE "Link" ${_dasrc})
          getinfo(DAREFRUN "Reference Run" ${_dasrc})
@@ -327,7 +327,7 @@ COMMAND @echo "***** Making archive ${DATAR} *****"
 COMMAND rm -rf ${DATAR}
 COMMAND rm -rf junk
 COMMAND mkdir junk && mkdir junk/${DAARC} 
-       COMMAND cp -a ${CMAKE_SOURCE_DIR}/${DASRC} junk/${DAARC} 
+       COMMAND cp -a ${AliRoot_SOURCE_DIR}/${DASRC} junk/${DAARC} 
 COMMAND cp -a ${DAMAKEFILE} junk/${DAARC}/Makefile 
 COMMAND cp -a ${DASPECFILE} junk/${DAARC}/${DAMODULE}${SUBDAMODULE}${DANAME}da.spec
 COMMAND cd junk && tar czf ${DATAR} * 
@@ -464,7 +464,7 @@ add_custom_command(
 TARGET DAOBJ_${DAEXE}_
 COMMAND echo "***** Compiling ${DASRC} *****"
 COMMAND echo "${DFLAGS}"
-       COMMAND g++ -c ${AMOREDEFINITIONS} -D${CMAKE_SYSTEM_NAME} ${DATE_CFLAGS} -I${DATE_ROOT}/infoLogger -I${DATE_ROOT}/logbook -I${DAQDADIR} -I${CMAKE_SOURCE_DIR}/RAW -I${CMAKE_BINARY_DIR}/include -I${ROOTINCDIR} ${mod} ${date_head} ${CMAKE_SOURCE_DIR}/${DASRC} -o ${DAOBJ}
+       COMMAND g++ -c ${AMOREDEFINITIONS} -D${CMAKE_SYSTEM_NAME} ${DATE_CFLAGS} -I${DATE_ROOT}/infoLogger -I${DATE_ROOT}/logbook -I${DAQDADIR} -I${AliRoot_SOURCE_DIR}/RAW -I${CMAKE_BINARY_DIR}/include -I${ROOTINCDIR} ${mod} ${date_head} ${AliRoot_SOURCE_DIR}/${DASRC} -o ${DAOBJ}
        WORKING_DIRECTORY ${CMAKE_BINARY_DIR}  
 )
 add_dependencies(DAOBJ_${DAEXE}_ DADEP_${DAEXE}_ )
@@ -474,7 +474,7 @@ add_custom_target(DADEP_${DAEXE}_)
 add_custom_command(
 TARGET DADEP_${DAEXE}_
 COMMAND echo "***** Making detector-algorithm dependencies ${DADEP} *****"
-       COMMAND g++ -MM ${DATE_CFLAGS} -I${DAQDADIR} -I${CMAKE_SOURCE_DIR}/RAW -I${CMAKE_BINARY_DIR}/include -I${ROOTINCDIR} ${mod} ${date_head} ${CMAKE_SOURCE_DIR}/${DASRC} > ${DADEP}
+       COMMAND g++ -MM ${DATE_CFLAGS} -I${DAQDADIR} -I${AliRoot_SOURCE_DIR}/RAW -I${CMAKE_BINARY_DIR}/include -I${ROOTINCDIR} ${mod} ${date_head} ${AliRoot_SOURCE_DIR}/${DASRC} > ${DADEP}
        WORKING_DIRECTORY ${CMAKE_BINARY_DIR}  
 )
 
index 4a0d741..4ed3272 100644 (file)
@@ -49,7 +49,7 @@ if(EXISTS ${PROJECT_SOURCE_DIR}/.git/)
   
         # generate the short version of the revision hash
         execute_process(COMMAND git rev-parse --short ${GIT_SHA1} 
-                          WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} 
+                          WORKING_DIRECTORY ${AliRoot_SOURCE_DIR} 
                           OUTPUT_STRIP_TRAILING_WHITESPACE 
                           RESULT_VARIABLE res
                           OUTPUT_VARIABLE GIT_SHORT_SHA1)
index f9c0298..2ec7cd2 100644 (file)
@@ -12,10 +12,10 @@ message(STATUS "Check for src2srcml: ${RULECHECKER_SRCML}")
 find_package(Java)
 message(STATUS "Check for Java: ${JAVA_RUNTIME}")
 
-find_file(RULECHECKER_JAR   NAMES NewRuleChecker.jar    PATHS  ${CMAKE_SOURCE_DIR}/RuleChecker NO_DEFAULT_PATH)
-find_file(RULECHECKER_RULES NAMES CodingConventions.xml PATHS  ${CMAKE_SOURCE_DIR}/RuleChecker NO_DEFAULT_PATH)
-find_file(FACTEXTRACTOR_JAR NAMES FactExtractor.jar     PATHS  ${CMAKE_SOURCE_DIR}/RuleChecker NO_DEFAULT_PATH)
-find_file(SMELLDETECTOR_JAR NAMES SmellDetector.jar     PATHS  ${CMAKE_SOURCE_DIR}/RuleChecker NO_DEFAULT_PATH)
+find_file(RULECHECKER_JAR   NAMES NewRuleChecker.jar    PATHS  ${AliRoot_SOURCE_DIR}/RuleChecker NO_DEFAULT_PATH)
+find_file(RULECHECKER_RULES NAMES CodingConventions.xml PATHS  ${AliRoot_SOURCE_DIR}/RuleChecker NO_DEFAULT_PATH)
+find_file(FACTEXTRACTOR_JAR NAMES FactExtractor.jar     PATHS  ${AliRoot_SOURCE_DIR}/RuleChecker NO_DEFAULT_PATH)
+find_file(SMELLDETECTOR_JAR NAMES SmellDetector.jar     PATHS  ${AliRoot_SOURCE_DIR}/RuleChecker NO_DEFAULT_PATH)
 if(RULECHECKER_JAR AND RULECHECKER_RULES AND RULECHECKER_SRCML AND JAVA_RUNTIME AND SMELLDETECTOR_JAR)
   set(RULECHECKER_FOUND TRUE)
   message(STATUS "RuleChecker jar :           ${RULECHECKER_JAR}")
index bcd1d72..4787d59 100644 (file)
@@ -110,7 +110,7 @@ function(git_describe _var)
                ${hash}
                ${ARGN}
                WORKING_DIRECTORY
-               "${CMAKE_SOURCE_DIR}"
+               "${AliRoot_SOURCE_DIR}"
                RESULT_VARIABLE
                res
                OUTPUT_VARIABLE