Downstream users, like Serac, cannot use several Slic macros due to it being guarded by AXOM_DEBUG which is only on in certain build types. We could add another define that users could turn on this functionality specifically, something like AXOM_ENABLE_ALL_SLIC_MACROS.
Some thoughts:
-- Determine which macros are generally only for debug mode and which should be user-controllable:
CHECK, ASSERT, DEBUG are the most problematic
-- This should be focused more on users than just axom developers
-- Should we have a toggle for each case, default on and users could choose to disable
-- Has to happen to at user code build or run time; i.e., use functions rather than macros
Downstream users, like Serac, cannot use several Slic macros due to it being guarded by
AXOM_DEBUGwhich is only on in certain build types. We could add another define that users could turn on this functionality specifically, something likeAXOM_ENABLE_ALL_SLIC_MACROS.Some thoughts:
-- Determine which macros are generally only for debug mode and which should be user-controllable:
CHECK, ASSERT, DEBUG are the most problematic
-- This should be focused more on users than just axom developers
-- Should we have a toggle for each case, default on and users could choose to disable
-- Has to happen to at user code build or run time; i.e., use functions rather than macros