32 lines
2.3 KiB
Meson
32 lines
2.3 KiB
Meson
option('build-tests', type: 'boolean', value: false,
|
|
description: 'Build unit and integration tests')
|
|
option('enable-dcheck', type: 'boolean', value: false,
|
|
description: 'Enable Fold debug-check assertions in non-test/canary builds')
|
|
option('build-mcp-server', type: 'boolean', value: true,
|
|
description: 'Build the in-process MCP server (fold mcp subcommand)')
|
|
option('build-lsp-server', type: 'boolean', value: true,
|
|
description: 'Build the LSP server (fold lsp subcommand)')
|
|
option('strict_warnings', type: 'feature', value: 'auto',
|
|
description: 'Enable strict compiler warnings (-Wall -Wextra -Wpedantic)')
|
|
option('radare2', type: 'feature', value: 'auto',
|
|
description: 'Enable the radare2 binary backend through libr_core when available')
|
|
option('capstone', type: 'feature', value: 'auto',
|
|
description: 'Use Capstone for exhaustive overlapping ROP gadget discovery (via wrap). '
|
|
+ 'When unavailable, gadget discovery falls back to the r2 /R search.')
|
|
option('ghidra', type: 'feature', value: 'auto',
|
|
description: 'Build the vendored Ghidra decompiler (SSA P-Code binary frontend). '
|
|
+ 'auto/enabled both build it (vendored, always available); it powers the '
|
|
+ 'P-Code binary pipeline + ROP exploit primitives. Disable with -Dghidra=disabled '
|
|
+ 'for a lighter baseline build that uses the r2-disasm fallback.')
|
|
option('souffle', type: 'feature', value: 'disabled',
|
|
description: 'Reserved optional Souffle fact-engine lane. Vendor manifest only; no build target yet.')
|
|
option('rust-frontend', type: 'boolean', value: true,
|
|
description: 'Build the Rust frontend (fold-rust binary, requires nightly rustc). '
|
|
+ 'Disable for C++/binary-only builds without Rust toolchain.')
|
|
option('swift-frontend', type: 'boolean', value: true,
|
|
description: 'Build the Swift frontend (fold-swift binary, requires swiftc on PATH). '
|
|
+ 'Disable for builds without Swift toolchain.')
|
|
option('llvm-config-path', type: 'string', value: '',
|
|
description: 'Explicit path to llvm-config (overrides PATH search). '
|
|
+ 'Leave empty to auto-discover llvm-config / llvm-config-NN '
|
|
+ 'on PATH.')
|