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.

Reply via email to