![]() |
Project
|
Code for detector upgrades shall be developed in Detectors/Upgrades
and DataFormats/Detectors/Upgrades
. It is compiled only if the CMake option ENABLE_UPGRADES
is activated, e.g.
Upgrade-only CMake instructions should be protected as:
Individual pieces of code to be compiled only when upgrades are built are to be guarded by precompiler macros:
The corresponding compiler definition is added automatically and globally.