Skip to content

Please add an option to disable the stacktrace functionality #3776

Closed
@jreichel-nvidia

Description

@jreichel-nvidia

oiio_disable_boost_stacktrace.diff.txt
Is your feature request related to a problem? Please describe.
The stacktrace functionality creates an additional dependency on helper libraries like dbgeng.dll, even if it is not enabled. Such a dependency might be undesired in larger integrations.

Describe the solution you'd like
A cmake option to disable that functionality, see attachment for proof of concept.

Additional context
Should OIIO_HAS_STACKTRACE be affected by the patch? It is not affected by the Boost version check either (which might create wrong resultsif the header is used with a different boost version than the one used for building OIIO). Its documentation also says "has", not "working". Is the define basically just for convenience and serves the same purpose as a version check on OIIO_VERSION?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions