aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boost-stacktrace/features.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/boost-stacktrace/features.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/boost-stacktrace/features.cmake')
-rw-r--r--vcpkg/ports/boost-stacktrace/features.cmake32
1 files changed, 32 insertions, 0 deletions
diff --git a/vcpkg/ports/boost-stacktrace/features.cmake b/vcpkg/ports/boost-stacktrace/features.cmake
new file mode 100644
index 0000000..f1dbec6
--- /dev/null
+++ b/vcpkg/ports/boost-stacktrace/features.cmake
@@ -0,0 +1,32 @@
+ # BOOST_STACKTRACE_ENABLE_NOOP
+
+ # When ON, builds the boost_stacktrace_noop library variant. Defaults to ON.
+
+ # BOOST_STACKTRACE_ENABLE_BACKTRACE
+
+ # When ON, builds the boost_stacktrace_backtrace library variant. Defaults to ON when libbacktrace is found, OFF otherwise.
+
+ # BOOST_STACKTRACE_ENABLE_ADDR2LINE
+
+ # When ON, builds the boost_stacktrace_addr2line library variant. Defaults to ON, except on Windows.
+
+ # BOOST_STACKTRACE_ENABLE_BASIC
+
+ # When ON, builds the boost_stacktrace_basic library variant. Defaults to ON.
+
+ # BOOST_STACKTRACE_ENABLE_WINDBG
+
+ # When ON, builds the boost_stacktrace_windbg library variant. Defaults to ON under Windows when WinDbg support is autodetected, otherwise OFF.
+
+ # BOOST_STACKTRACE_ENABLE_WINDBG_CACHED
+
+ # When ON, builds the boost_stacktrace_windbg_cached library variant. Defaults to ON under Windows when WinDbg support is autodetected and when thread_local is supported, otherwise OFF.
+
+vcpkg_check_features(
+ OUT_FEATURE_OPTIONS
+ FEATURE_OPTIONS
+ FEATURES
+ "backtrace" BOOST_STACKTRACE_ENABLE_BACKTRACE
+ "windbg" BOOST_STACKTRACE_ENABLE_WINDBG
+ "windbg" BOOST_STACKTRACE_ENABLE_WINDBG_CACHED
+)