Makefiles and dub
Steven Schveighoffer
schveiguy at gmail.com
Fri Nov 4 23:53:05 UTC 2022
On 11/4/22 7:19 PM, Anonymouse wrote:
> [#20699](https://issues.dlang.org/show_bug.cgi?id=20699) must be
> non-trivial to fix, so I'm exploring makefiles. If possible I'd like to
> keep dub for dependency management though, just not for actual compilation.
>
> Is it at all possible (or even desireable) to construct a makefile that
> builds dependencies from outside of the source tree (namely
> `$HOME/.dub/packages/package_with_unknown_version-1.2.[0-9]+/`)?
>
> Does anyone have an example `Makefile` I could dissect?
>
> Thanks.
`dub describe` can give you probably enough information to build a makefile.
And I believe it should do all the dependency fetching when you call it.
-Steve
More information about the Digitalmars-d-learn
mailing list