Files
depot/meson_options.txt
SFG545 34d52d11a9 feat: update user configuration example and add development package support
- Enhanced the user.depot.toml.example file with additional comments and options for user-local preferences.
- Bumped version from 0.35.0 to 0.35.1 in meson.build.
- Introduced a new option for DEPOT_DEVELOPMENT_PACKAGE in meson_options.txt.
- Added functions to handle the requested development package in build_options.rs.
- Updated various builder files (autotools.rs, cmake.rs, custom.rs, meson.rs, perl.rs) to support passing build flags.
- Implemented checks for the required development package during source builds in commands.rs and commands/build_cmd.rs.
- Added tests to ensure the correct behavior of development package requirements and source build warnings.
- Modified manual source handling in source/mod.rs to validate local manual sources before proceeding with builds.
- Updated cargo build and test scripts to accept a new development package argument.
- Added VSCode settings to disable automatic configuration on open.
2026-04-04 17:02:42 -05:00

67 lines
1.7 KiB
Meson

option(
'build-html-doc',
type: 'boolean',
value: false,
description: 'Generate HTML CLI documentation with cli_doc and install it',
)
option(
'BUILD_DEPOT_STATIC',
type: 'boolean',
value: false,
description: 'Compile Depot with a default static-build preference for supported package builders',
)
option(
'DEPOT_AUTOTOOLS_PACKAGE',
type: 'string',
value: '',
description: 'Compile in the helper package to auto-install before autotools builds',
)
option(
'DEPOT_CMAKE_PACKAGE',
type: 'string',
value: 'cmake',
description: 'Compile in the helper package to auto-install before CMake builds',
)
option(
'DEPOT_MESON_PACKAGE',
type: 'string',
value: 'meson',
description: 'Compile in the helper package to auto-install before Meson builds',
)
option(
'DEPOT_PERL_PACKAGE',
type: 'string',
value: 'perl',
description: 'Compile in the helper package to auto-install before Perl builds',
)
option(
'DEPOT_CUSTOM_PACKAGE',
type: 'string',
value: '',
description: 'Compile in the helper package to auto-install before custom builds',
)
option(
'DEPOT_PYTHON_PACKAGE',
type: 'string',
value: 'python',
description: 'Compile in the helper package to auto-install before Python builds',
)
option(
'DEPOT_RUST_PACKAGE',
type: 'string',
value: 'rust',
description: 'Compile in the helper package to auto-install before Rust builds',
)
option(
'DEPOT_MAKEFILE_PACKAGE',
type: 'string',
value: '',
description: 'Compile in the helper package to auto-install before makefile builds',
)
option(
'DEPOT_DEVELOPMENT_PACKAGE',
type: 'string',
value: 'development-base',
description: 'Compile in the package that must already be installed before any source build runs',
)