Skip to content

Commit c56e928

Browse files
aphecetchektf
authored andcommitted
[O2-1896] Exclude related macros from checklist when not building upgrades.
1 parent b82f9e8 commit c56e928

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmake/O2RootMacroExclusionList.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ if(NOT BUILD_SIMULATION)
6969
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST Generators/share/external/trigger_mpi.C)
7070
endif()
7171

72+
if(NOT ENABLE_UPGRADES)
73+
# exclude all the macros found under Detectors/Upgrades directory
74+
o2_get_list_of_macros(${CMAKE_SOURCE_DIR}/Detectors/Upgrades upgradeMacros)
75+
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST ${upgradeMacros})
76+
endif()
77+
7278
if(NOT pythia6_FOUND)
7379
list(APPEND O2_ROOT_MACRO_EXCLUSION_LIST Generators/share/external/pythia6.C)
7480
endif()

0 commit comments

Comments
 (0)