summaryrefslogtreecommitdiff
path: root/cmake/BoltDbgOptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/BoltDbgOptions.cmake')
-rw-r--r--cmake/BoltDbgOptions.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/BoltDbgOptions.cmake b/cmake/BoltDbgOptions.cmake
new file mode 100644
index 0000000..2d9ccd6
--- /dev/null
+++ b/cmake/BoltDbgOptions.cmake
@@ -0,0 +1,10 @@
+# cmake/BoltDbgOptions.cmake
+#
+# Define project-wide options for BoltDBG
+
+option(BOLTDBG_BUILD_TESTS "Build boltdbg tests" ON)
+option(BOLTDBG_ENABLE_ASAN "Enable AddressSanitizer (Address/Undefined)" OFF)
+option(BOLTDBG_USE_SYSTEM_LIBS "Prefer system libraries (if available) over bundled" ON)
+option(BOLTDBG_ENABLE_FORMAT_TARGET "Add clang-format target" ON)
+
+set(BOLTDBG_DEFAULT_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE PATH "Default install prefix")