Hipreme's #8 Tip of the day - Using custom runtime with dub projects
evilrat
evilrat666 at gmail.com
Sun Jan 22 18:28:46 UTC 2023
On Sunday, 22 January 2023 at 18:16:35 UTC, Hipreme wrote:
>
> Nope. Those DFLAGS environment variable is used to affect
> projects such as my dependencies. For example, my dependency
> needs to be built using my own runtime. The dflags defined in
> the dub.json only affect the current project, not its
> dependencies
Ah ok, got it, the compiler will fetch them for a whole session
no matter what is currently being built.
Though this approach will make it harder to anyone who might want
to use your project/library if this requirement remains for a
user's project.
More information about the Digitalmars-d-learn
mailing list