Draft: Add GAUDI_V21 and GAUDI_V22 options to control backward compatibility hacks
With the migration to the new CMake configuration (!986 (merged)), the possibility of enabling/disabling the v21/v22 backward incompatible changes was lost.
This MR adds the configuration options GAUDI_V21
and GAUDI_V22
to enable groups of changes (similar to what was done in https://gitlab.cern.ch/gaudi/Gaudi/-/blob/v34r1/cmake/GaudiBuildFlags.cmake#L110-127).
To-do:
-
fine grain selection of changes to enable -
fix symbol hiding (or remove it altogether)