bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.75k stars 479 forks source link

CMake modernization: add Backward::Interface and Backward::Object targets #310

Closed lahwaacz closed 10 months ago

lahwaacz commented 1 year ago

This PR should make it easier to use the backward.cpp file in downstream projects. As documented in the README, with this PR there are now three targets:

This PR marks the add_backward target as deprecated and removes the ${BACKWARD_ENABLE} variable.

Before this PR, using the Backward::Backward target was not easy and consistent:

bombela commented 10 months ago

Thank you for the fine work.