Skip to content

Allow Slic macros that are guarded by AXOM_DEBUG to be turned on another way #713

Description

@white238

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

Metadata

Metadata

Assignees

Labels

App IntegrationIssues related to integration with applicationsReviewedSlicIssues related to Axom's 'slic' componentUser RequestIssues related to user requests

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions