Skip to content

Commit

Permalink
Restore AliLog per module behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
dberzano committed Feb 11, 2016
1 parent a568356 commit 3a51fe7
Show file tree
Hide file tree
Showing 87 changed files with 146 additions and 61 deletions.
11 changes: 4 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)

project(AliPhysics CXX C)

### CMP0025 Compiler id for Apple Clang is now AppleClang.
### CMP0042 MACOSX_RPATH is enabled by default.
foreach(p
CMP0025 # CMake 3.0
CMP0042 # CMake 3.0
)
foreach(p CMP0005 # Properly escape preprocessor definitions (v2.6, v3.0.2)
CMP0025 # Compiler id for Apple Clang is now AppleClang (v3.0)
CMP0042) # MACOSX_RPATH is enabled by default (v3.0)
if(POLICY ${p})
cmake_policy(SET ${p} NEW)
cmake_policy(SET ${p} NEW)
endif()
endforeach()

Expand Down
1 change: 1 addition & 0 deletions CORRFW/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Module
set(MODULE CORRFW)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/${MODULE})
Expand Down
1 change: 1 addition & 0 deletions EVEANALYSIS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Module
set(MODULE EveAnalysis)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/EVEANALYSIS)
Expand Down
1 change: 1 addition & 0 deletions EVENTMIX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Module
set(MODULE EventMixing)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/EVENTMIX)
Expand Down
1 change: 1 addition & 0 deletions HLTANALYSIS/JET/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Module
set(MODULE AliHLTJET)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/HLTANALYSIS/JET
Expand Down
1 change: 1 addition & 0 deletions JETAN/FASTJETAN/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Module
set(MODULE FASTJETAN)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/JETAN/${MODULE})
Expand Down
1 change: 1 addition & 0 deletions JETAN/JETAN/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Module
set(MODULE JETAN)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/JETAN/${MODULE})
Expand Down
1 change: 1 addition & 0 deletions OADB/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Module
set(MODULE OADB)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/${MODULE})
Expand Down
3 changes: 2 additions & 1 deletion PWG/CaloTrackCorrBase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCaloTrackCorrBase)
set(MODULE PWGCaloTrackCorrBase)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/CaloTrackCorrBase)
Expand Down
3 changes: 2 additions & 1 deletion PWG/DevNanoAOD/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGDevNanoAOD)
set(MODULE PWGDevNanoAOD)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/DevNanoAOD)
Expand Down
3 changes: 2 additions & 1 deletion PWG/EMCAL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGEMCAL)
set(MODULE PWGEMCAL)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/EMCAL)
Expand Down
3 changes: 2 additions & 1 deletion PWG/FLOW/Base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGflowBase)
set(MODULE PWGflowBase)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/FLOW/Base)
Expand Down
3 changes: 2 additions & 1 deletion PWG/FLOW/Tasks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGflowTasks)
set(MODULE PWGflowTasks)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/FLOW/Tasks)
Expand Down
3 changes: 2 additions & 1 deletion PWG/Glauber/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGGlauber)
set(MODULE PWGGlauber)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/Glauber)
Expand Down
3 changes: 2 additions & 1 deletion PWG/HMTF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGHMTF)
set(MODULE PWGHMTF)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/HMTF)
Expand Down
1 change: 1 addition & 0 deletions PWG/JETFW/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# **************************************************************************

set(MODULE PWGJETFW)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(
Expand Down
3 changes: 2 additions & 1 deletion PWG/MCLEGO/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGMCLEGO)
set(MODULE PWGMCLEGO)
add_definitions(-D_MODULE_="${MODULE}")

# install all executable scripts
install(DIRECTORY .
Expand Down
3 changes: 2 additions & 1 deletion PWG/TRD/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGTRD)
set(MODULE PWGTRD)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/TRD)
Expand Down
3 changes: 2 additions & 1 deletion PWG/Tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGTools)
set(MODULE PWGTools)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/Tools)
Expand Down
3 changes: 2 additions & 1 deletion PWG/mftmuondep/charmonium/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************

# Module name -> library name
set (MODULE PWGmftmuondepCharmonium)
set(MODULE PWGmftmuondepCharmonium)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/mftmuondep/charmonium)
Expand Down
1 change: 1 addition & 0 deletions PWG/mftmuondep/openHF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#Module
set(MODULE PWGSomething)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/mftmuondep/openHF)
Expand Down
3 changes: 2 additions & 1 deletion PWG/muon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -DLOG_NO_DEBUG ")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} ")

#Module
set (MODULE PWGmuon)
set(MODULE PWGmuon)
add_definitions(-D_MODULE_="${MODULE}")

add_subdirectory(aaf)
message(STATUS "PWG muon aaf enabled")
Expand Down
1 change: 1 addition & 0 deletions PWG/muon/aaf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#Module
set(MODULE PWGmuonaaf)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/muon/aaf)
Expand Down
3 changes: 2 additions & 1 deletion PWG/muondep/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGmuondep)
set(MODULE PWGmuondep)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWG/muondep)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/Correlations/Base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFCorrelationsBase)
set(MODULE PWGCFCorrelationsBase)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/Correlations/Base)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/Correlations/DPhi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFCorrelationsDPhi)
set(MODULE PWGCFCorrelationsDPhi)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/Correlations/DPhi)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/Correlations/JCORRAN/Base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFCorrelationsJCORRAN)
set(MODULE PWGCFCorrelationsJCORRAN)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/Correlations/JCORRAN/Base)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/Correlations/JCORRAN/Pro/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFCorrelationsJCORRANPro)
set(MODULE PWGCFCorrelationsJCORRANPro)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/Correlations/JCORRAN/Base
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/Correlations/ThreePart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFCorrelationsThreePart)
set(MODULE PWGCFCorrelationsThreePart)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/Correlations/ThreePart)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/EBYE/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFebye)
set(MODULE PWGCFebye)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/EBYE)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FEMTOSCOPY/AliFemto/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

#Module
set (MODULE PWGCFfemtoscopy)
set(MODULE PWGCFfemtoscopy)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FEMTOSCOPY/AliFemto)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FEMTOSCOPY/AliFemtoUser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFfemtoscopyUser)
set(MODULE PWGCFfemtoscopyUser)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FEMTOSCOPY/AliFemtoUser)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FEMTOSCOPY/Chaoticity/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFChaoticity)
set(MODULE PWGCFChaoticity)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FEMTOSCOPY/Chaoticity)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FEMTOSCOPY/ESE/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFESE)
set(MODULE PWGCFESE)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FEMTOSCOPY/ESE)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FEMTOSCOPY/HCascadeAnalysis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFHCascadeAnalysis)
set(MODULE PWGCFHCascadeAnalysis)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FEMTOSCOPY/HCascadeAnalysis)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FEMTOSCOPY/K0Analysis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFK0Analysis)
set(MODULE PWGCFK0Analysis)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FEMTOSCOPY/K0Analysis)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FEMTOSCOPY/UNICOR/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFunicor)
set(MODULE PWGCFunicor)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FEMTOSCOPY/UNICOR)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FEMTOSCOPYAOD/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFFEMTOSCOPYAOD)
set(MODULE PWGCFFEMTOSCOPYAOD)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FEMTOSCOPYAOD)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FLOW/CME/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFflowCME)
set(MODULE PWGCFflowCME)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FLOW/CME)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FLOW/CME/TwoPwrtRP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFflowCMETwoPwrtRP)
set(MODULE PWGCFflowCMETwoPwrtRP)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FLOW/CME/TwoPwrtRP)
Expand Down
3 changes: 2 additions & 1 deletion PWGCF/FLOW/blastwave/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
# **************************************************************************/

#Module
set (MODULE PWGCFflowBW)
set(MODULE PWGCFflowBW)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/PWGCF/FLOW/blastwave)
Expand Down
Loading

0 comments on commit 3a51fe7

Please sign in to comment.