On Tuesday, 31 March 2020 at 15:23:48 UTC, Anonymouse wrote: > I have a library package that I split up into subpackages, but > I'm having to do mental gymnastics to make it only compile the > files I want. > > [...] Vibe-d is using approach 2a. You may have a look here https://github.com/vibe-d/vibe.d Kind regards Andre