jeremy-rifkin / cpptrace

Simple, portable, and self-contained stacktrace library for C++11 and newer
MIT License
621 stars 64 forks source link

Make it possible to use system gtest when it's available #130

Closed xokdvium closed 3 months ago

xokdvium commented 3 months ago

Currently it's impossible to build unit tests without getting gtest via FetchContent. It would be useful to either prefer system gtest by default or add a cmake option for that behavior. This is necessary to run the build in sandboxed environments where FetchContent can't be used.

jeremy-rifkin commented 3 months ago

I'd be happy to support a way to use external gtest. Up until now no one has requested this. One thing to note though is that the current state of unit tests is pretty non-existent, I was trying to setup unit tests but it's very tricky.

jeremy-rifkin commented 3 months ago

Implemented on dev, will be part of the next release

jeremy-rifkin commented 3 months ago

Thanks for your patience, I've released v0.6.0