1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385
|
option('gnome_sdk_version',
type: 'string',
value: 'master',
description: 'The GNOME SDK release to use for templates')
option('freedesktop_sdk_version',
type: 'string',
value: '25.08',
description: 'The Freedesktop SDK release to use for templates')
option('development',
type: 'boolean',
value: false,
description: 'For development build, enables extra debugging routines')
option('safe_path',
type: 'string',
value: '',
description: 'PATH variable to run build commands (default: platform-specific)')
option('docs',
type: 'boolean',
value: false,
description: 'Build reference manual (requires gi-doc and gobject-introspection)')
option('introspection',
type: 'feature',
value: 'enabled',
description: 'Generate gir data (requires gobject-introspection)')
# Feature Flags
option('feature-dap',
type: 'boolean',
value: true,
description: 'Build libfoundry with debug-adapter-protocol support')
option('feature-debugger',
type: 'boolean',
value: true,
description: 'Build libfoundry with debugger support')
option('feature-docs',
type: 'boolean',
value: true,
description: 'Build libfoundry with documentation support')
option('feature-flatpak',
type: 'boolean',
value: true,
description: 'Build libfoundry with Flatpak support')
option('feature-forge',
type: 'boolean',
value: true,
description: 'Build libfoundry with Forge support')
option('feature-git',
type: 'boolean',
value: true,
description: 'Build libfoundry with Git support (requires feature-vcs)')
option('feature-llm',
type: 'boolean',
value: true,
description: 'Build libfoundry with LLM support')
option('feature-lsp',
type: 'boolean',
value: true,
description: 'Build libfoundry with LSP support')
option('feature-mcp',
type: 'boolean',
value: true,
description: 'Build libfoundry with MCP support')
option('feature-text',
type: 'boolean',
value: true,
description: 'Build libfoundry with text editing support')
option('feature-terminal',
type: 'boolean',
value: true,
description: 'Build libfoundry with terminal support')
option('feature-templates',
type: 'boolean',
value: true,
description: 'Build libfoundry with template support')
option('feature-vcs',
type: 'boolean',
value: true,
description: 'Build libfoundry with version control support')
# Build GTK library
option('gtk',
type: 'boolean', value: true,
description: 'Build and install libfoundry-gtk library')
option('webkit',
type: 'boolean', value: true,
description: 'Allow libfoundry-gtk to link against webkit')
option('commonmark',
type: 'boolean', value: true,
description: 'Allow libfoundry-gtk to link against commonmark')
# Build libadwaita (GNOME) library
option('adwaita',
type: 'boolean', value: true,
description: 'Build and install libfoundry-adw library')
# Device Integration
option('plugin-deviced',
type: 'boolean',
value: false,
description: 'Provide integration with deviced enabled devices')
option('plugin-qemu',
type: 'boolean',
value: true,
description: 'Provide integration with qemu-user-static')
# Containers
option('plugin-jhbuild',
type: 'boolean',
value: true,
description: 'Allows using the jhbuild build tool as a SDK')
option('plugin-podman',
type: 'boolean',
value: true,
description: 'Allows using podman containers as a SDK')
# Linters
option('plugin-codespell',
type: 'boolean',
value: true,
description: 'Provide integration with codespell diagnostics')
option('plugin-flake8',
type: 'boolean',
value: true,
description: 'Diagnostics for flake8')
option('plugin-eslint',
type: 'boolean',
value: true,
description: 'Diagnostics for eslint')
option('plugin-gdiagnose',
type: 'boolean',
value: true,
description: 'Diagnostics for GObject code')
option('plugin-gettext',
type: 'boolean',
value: true,
description: 'Diagnostics for gettext')
option('plugin-sarif',
type: 'boolean',
value: true,
description: 'Integration with SARIF tool format')
option('plugin-shellcheck',
type: 'boolean',
value: true,
description: 'Diagnostics for shellcheck')
# Build Systems
option('plugin-autotools',
type: 'boolean',
value: true,
description: 'Provide integration with autotools')
option('plugin-buildstream',
type: 'boolean',
value: true,
description: 'Provide integration with buildstream')
option('plugin-cargo',
type: 'boolean',
value: true,
description: 'Provide integration with cargo build system')
option('plugin-cmake',
type: 'boolean',
value: true,
description: 'Provide integration with cmake build system')
option('plugin-dub',
type: 'boolean',
value: true,
description: 'Provide integration with dub build system')
option('plugin-go',
type: 'boolean',
value: true,
description: 'Provide integration with go build system')
option('plugin-gradle',
type: 'boolean',
value: true,
description: 'Allows building with gradle')
option('plugin-just',
type: 'boolean',
value: true,
description: 'Allows using the just build system')
option('plugin-make',
type: 'boolean',
value: true,
description: 'Allows building with make')
option('plugin-maven',
type: 'boolean',
value: true,
description: 'Allows building with maven')
option('plugin-meson',
type: 'boolean',
value: true,
description: 'Allows using the meson build system')
option('plugin-npm',
type: 'boolean',
value: true,
description: 'Provide integration with npm build system')
option('plugin-phpize',
type: 'boolean',
value: true,
description: 'Provide integration with phpize')
option('plugin-waf',
type: 'boolean',
value: true,
description: 'Allows using the waf build system')
# Language Servers
option('plugin-astro-ls',
type: 'boolean',
value: true,
description: 'Provide integration with astro language server')
option('plugin-clangd',
type: 'boolean',
value: true,
description: 'Provide integration with clangd language server')
option('plugin-bash-language-server',
type: 'boolean',
value: true,
description: 'Provide integration with bash-language-server')
option('plugin-blueprint',
type: 'boolean',
value: true,
description: 'Provide integration with blueprint')
option('plugin-elixir-ls',
type: 'boolean',
value: true,
description: 'Provide integration with elixir-ls')
option('plugin-glsl-language-server',
type: 'boolean',
value: true,
description: 'Provide integration with glsl-language-server')
option('plugin-gopls',
type: 'boolean',
value: true,
description: 'Provide integration with gopls')
option('plugin-intelephense',
type: 'boolean',
value: true,
description: 'Provide integration with intelephense')
option('plugin-jdtls',
type: 'boolean',
value: true,
description: 'Provide integration with jdtls')
option('plugin-jedi-language-server',
type: 'boolean',
value: true,
description: 'Provide integration with jedi-language-server')
option('plugin-lua-language-server',
type: 'boolean',
value: true,
description: 'Provide integration with lua-language-server')
option('plugin-mesonlsp',
type: 'boolean',
value: true,
description: 'Provide integration with mesonlsp')
option('plugin-pylsp',
type: 'boolean',
value: true,
description: 'Provide integration with pylsp language server')
option('plugin-pyrefly',
type: 'boolean',
value: true,
description: 'Provide integration with pyrefly language server')
option('plugin-ruff',
type: 'boolean',
value: true,
description: 'Provide integration with ruff LSP')
option('plugin-rust-analyzer',
type: 'boolean',
value: true,
description: 'Provide integration with rust-analyzer')
option('plugin-serve-d',
type: 'boolean',
value: true,
description: 'Provide integration with serve-d')
option('plugin-sourcekit-lsp',
type: 'boolean',
value: true,
description: 'Provide integration with sourcekit-lsp')
option('plugin-ts-language-server',
type: 'boolean',
value: true,
description: 'Provide integration with ts-language-server')
option('plugin-ty',
type: 'boolean',
value: true,
description: 'Provide integration with ty LSP')
option('plugin-vala-language-server',
type: 'boolean',
value: true,
description: 'Provide integration with vala-language-server')
option('plugin-vhdl-language-server',
type: 'boolean',
value: true,
description: 'Provide integration with vhdl-language-server')
option('plugin-zls',
type: 'boolean',
value: true,
description: 'Provide integration with zls')
# Code Search and Indexing
option('plugin-file-search',
type: 'boolean',
value: true,
description: 'Search for files by file-name')
option('plugin-codesearch',
type: 'boolean',
value: true,
description: 'Indexes source code for searching')
# Documentation
option('plugin-devhelp',
type: 'boolean',
value: true,
description: 'Extract documentation from devhelp documentation format')
# Debuggers
option('plugin-gdb',
type: 'boolean',
value: true,
description: 'GDB debugger integration')
option('plugin-lldb',
type: 'boolean',
value: true,
description: 'LLDB debugger integration')
# Symbol Providers
option('plugin-ctags',
type: 'boolean',
value: true,
description: 'Integration with universal CTags')
# LLM Providers
option('plugin-ollama',
type: 'boolean',
value: true,
description: 'Integrate with ollama LLM provider')
option('plugin-openai',
type: 'boolean',
value: true,
description: 'Integrate with openai for LLM support')
# Spellcheck
option('plugin-spellcheck',
type: 'boolean',
value: true,
description: 'Spellcheck for FoundrySourceView')
option('plugin-word-completion',
type: 'boolean',
value: true,
description: 'Word completion for FoundrySourceView')
# Templates
option('plugin-make-templates',
type: 'boolean',
value: true,
description: 'Make project templates')
option('plugin-meson-templates',
type: 'boolean',
value: true,
description: 'Meson project templates')
option('plugin-simple-templates',
type: 'boolean',
value: true,
description: 'Simple file templates within projects')
# Text Settings
option('plugin-editorconfig',
type: 'boolean',
value: true,
description: 'Editorconfig text settings integration')
option('plugin-modelines',
type: 'boolean',
value: true,
description: 'Modeline text settings integration')
# Forges
option('plugin-gitlab',
type: 'boolean',
value: true,
description: 'Gitlab forge integration')
# Distributed Compiling
option('plugin-distcc',
type: 'boolean',
value: true,
description: 'Distcc Integration')
|