dub-build-deep 1.0.2
An utility to build a dub library and all its dependencies
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
dub-build-deep
dub-build-deep
is a simple utility that fetches and builds all dependencies
of a DUB package for a specified compiler, architecture, configuration, etc.
This program is needed because DUB won't do a recursive build when sub-dependencies are static libraries (virtually 100% of Dub library packages).
This is mainly useful for D projects working with Meson, which expects all the needed
DUB dependencies and sub-dependencies to be already available during the meson setup
phase.
Manual
$ dub-build-deep -h
dub-build-deep v1.0.1 - An utility to build DUB sub-dependencies
Usage:
dub-build-deep [options] (package name)[@version]
Most options are the same than expected by DUB describe.
--config Specify a DUB configuration
--override-config Specify a DUB configuration for a sub-dependency
--dub Specify a DUB executable
--compiler D compiler to be used
--arch Architecture to target
--build The build type (debug, release, ...)
-h --help This help information.
Usage example
- Build
vibe-d:[email protected]
and all sub-dependencies - For compiler
dmd
, architecturex86_64
and build typerelease
- Dub configuration
notls
is specified for the subpackagevibe-d:tls
$ dub run dub-build-deep -- --override-config vibe-d:tls/notls --compiler dmd --arch x86_64 --build release vibe-d:[email protected]`
[...]
running "dub" describe ^"vibe-d:[email protected]^" --override-config vibe-d:tls/notls --compiler dmd --arch ^"x86_64^" --build release
Warning: vibe-d:[email protected] does not appear to be present locally. Will try to fetch and repeat...
running "dub" fetch ^"vibe-d:[email protected]^"
running "dub" describe ^"vibe-d:[email protected]^" --override-config vibe-d:tls/notls --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"vibe-d:[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"vibe-d:[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"vibe-d:[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"vibe-d:[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"vibe-d:[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"[email protected]^" --config winapi --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"[email protected]^" --config winapi --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"vibe-d:[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"vibe-d:[email protected]^" --config notls --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"vibe-d:[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
running "dub" build ^"[email protected]^" --config library --compiler dmd --arch ^"x86_64^" --build release
- Registered by Remi Thebault
- 1.0.2 released 2 years ago
- rtbo/dub-build-deep
- MIT
- Copyright © 2022, Rémi Thebault
- Authors:
- Dependencies:
- none
- Versions:
-
1.1.0 2022-Nov-20 1.0.2 2022-Mar-07 1.0.1 2022-Mar-01 1.0.0 2022-Mar-01 ~main 2022-Nov-20 - Download Stats:
-
-
39 downloads today
-
121 downloads this week
-
479 downloads this month
-
8185 downloads total
-
- Score:
- 2.9
- Short URL:
- dub-build-deep.dub.pm