From f6f40266ba57ab2df99b897c375f85f0a8a97856 Mon Sep 17 00:00:00 2001 From: Levent Kaya Date: Wed, 5 Nov 2025 22:11:58 +0300 Subject: [feature] basic structure --- cmake/BoltDbgOptions.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cmake/BoltDbgOptions.cmake (limited to 'cmake/BoltDbgOptions.cmake') 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") -- cgit v1.2.3