From 65c9a400d56b7412dbac03d93412ba4de1734396 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 13 Jun 2022 23:41:31 +0200 Subject: refactor: add uncaught exception stack traces --- lib/CMakeLists.txt | 9 +++++++++ lib/backward/CMakeLists.txt | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 lib/backward/CMakeLists.txt (limited to 'lib') diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 9a18dbe..b42daad 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -32,6 +32,15 @@ FetchContent_Declare( add_subdirectory(ctre) +FetchContent_Declare( + backward + GIT_REPOSITORY "https://github.com/bombela/backward-cpp" + GIT_TAG v1.6 +) + +add_subdirectory(backward) + + if(test) FetchContent_Declare( gtest diff --git a/lib/backward/CMakeLists.txt b/lib/backward/CMakeLists.txt new file mode 100644 index 0000000..730ca1c --- /dev/null +++ b/lib/backward/CMakeLists.txt @@ -0,0 +1,3 @@ +message(STATUS "Fetching Backward...") + +FetchContent_MakeAvailable(backward) -- cgit v1.2.3-18-g5258