Closed rtbo closed 1 year ago
✅ PR OK, no changes in deprecations or warnings
Total deprecations: 14
Total warnings: 0
Build statistics:
statistics (-before, +after)
executable size=5272064 bin/dub
rough build time=90s
@rtbo I have wrote this file here:
Added --deep=
switch to dub build
By specifying this flag, you can now build all the dependencies of a staticLibrary. The default behavior is to only build the library located in the root directory of the dub configuration file. This allows better integration with other build systems which require the libraries to be built upfront.
dub build --deep
If a staticLibrary A depends on staticLibrary B, and the --deep flag is specified, dub will output both the A and B libraries.
Feel free to modify as you see fit. This is a required file which goes inside the changelog folder.
Hey there @WebFreak001 @Geod24 can you take a look into this PR?
Allows to build all dependencies of a static library.
This provides the same functionality as the dub-build-deep package. The difference is that all dependencies are built in the same DUB invocation, which imply that the build will be fully compatible with
dub describe
.E.g.
dub describe vibe-d:http
will describe the build settings of all dependencies ofvibe-d:http
anddub build --deep vibe-d:http
will build all dependencies with the exact same build settings. If we build dependencies one by one (as done bydub-build-deep
), some settings will differ.See also #2644
Fixes #2224 (and possibly #2209)